diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/event/LayerEvent.java')
-rw-r--r-- | src/com/fourisland/fourpuzzle/gamestate/mapview/event/LayerEvent.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/LayerEvent.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/LayerEvent.java index 92cfd54..b67f2aa 100644 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/LayerEvent.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/LayerEvent.java | |||
@@ -27,6 +27,7 @@ public class LayerEvent implements Event { | |||
27 | { | 27 | { |
28 | location = new Point(x,y); | 28 | location = new Point(x,y); |
29 | events = new ArrayList<PossibleEvent>(); | 29 | events = new ArrayList<PossibleEvent>(); |
30 | label = "Unlabelled"; | ||
30 | } | 31 | } |
31 | 32 | ||
32 | /** Create a new Event instance | 33 | /** Create a new Event instance |
@@ -204,4 +205,8 @@ public class LayerEvent implements Event { | |||
204 | return getPossibleEvent().getCallback(); | 205 | return getPossibleEvent().getCallback(); |
205 | } | 206 | } |
206 | 207 | ||
207 | } | 208 | public void setLabel(String string) { |
209 | this.label = string; | ||
210 | } | ||
211 | |||
212 | } \ No newline at end of file | ||