Last change
on this file since a49176d 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:
562 bytes
|
Rev | Line | |
---|
[8edd04e] | 1 | package main;
|
---|
| 2 |
|
---|
| 3 | public class Effect {
|
---|
| 4 |
|
---|
| 5 | private EffectType type;
|
---|
| 6 | private TargetType target;
|
---|
| 7 |
|
---|
| 8 | public Effect(EffectType type, TargetType target) {
|
---|
| 9 | this.type = type;
|
---|
| 10 | this.target = target;
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | public Effect(Effect e) {
|
---|
| 14 | this.type = e.type;
|
---|
| 15 | this.target = e.target;
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | public Effect copy() {
|
---|
| 19 | return new Effect(this);
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | public EffectType getType() {
|
---|
| 23 | return this.type;
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | public TargetType getTarget() {
|
---|
| 27 | return this.target;
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | public void applyEffect(Object o) {
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public void cancelEffect(Object o) {
|
---|
| 34 | }
|
---|
| 35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.