Last change
on this file since 3d64884 was 8edd04e, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 5 years ago |
Make the decompiled game code compile successfully
|
-
Property mode
set to
100644
|
File size:
370 bytes
|
Rev | Line | |
---|
[8edd04e] | 1 | package main;
|
---|
| 2 |
|
---|
| 3 | public class Penetrate extends Effect {
|
---|
| 4 |
|
---|
| 5 | public Penetrate(TargetType target) {
|
---|
| 6 | super(EffectType.Penetrate, target);
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | public Penetrate(Penetrate e) {
|
---|
| 10 | super(e);
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | public Penetrate copy() {
|
---|
| 14 | return new Penetrate(this);
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | public void applyEffect(Object o) {
|
---|
| 18 | Projectile proj = (Projectile)o;
|
---|
| 19 | proj.setPenetrate(true);
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.