source: lost-haven/main/Effect.java

Last change on this file was 8edd04e, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 4 years ago

Make the decompiled game code compile successfully

  • Property mode set to 100644
File size: 562 bytes
Line 
1package main;
2
3public 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.