diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2009-02-03 21:47:22 -0500 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2009-02-03 21:47:22 -0500 |
| commit | a9e21cb37d1e6887270f68d90f2f3c8bcd775df2 (patch) | |
| tree | c444fc8268d6a829a9e17b9c9d4ab7dc501f6124 /src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java | |
| parent | 029190712a8f38cef760741cf53652e0ccd89172 (diff) | |
| download | fourpuzzle-a9e21cb37d1e6887270f68d90f2f3c8bcd775df2.tar.gz fourpuzzle-a9e21cb37d1e6887270f68d90f2f3c8bcd775df2.tar.bz2 fourpuzzle-a9e21cb37d1e6887270f68d90f2f3c8bcd775df2.zip | |
Added Executor to MoveEventThread
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java')
| -rw-r--r-- | src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java | 4 |
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java index cf31bf1..c39082d 100644 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java | |||
| @@ -112,7 +112,7 @@ public class SpecialEvent { | |||
| 112 | */ | 112 | */ |
| 113 | public void MoveEvent(MoveEvent[] actions) | 113 | public void MoveEvent(MoveEvent[] actions) |
| 114 | { | 114 | { |
| 115 | new Thread(new MoveEventThread(Game.getHeroEvent(), actions)).start(); | 115 | new MoveEventThread(Game.getHeroEvent(), actions).start(); |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | /** | 118 | /** |
| @@ -123,7 +123,7 @@ public class SpecialEvent { | |||
| 123 | */ | 123 | */ |
| 124 | public void MoveEvent(MoveEvent[] actions, String label) | 124 | public void MoveEvent(MoveEvent[] actions, String label) |
| 125 | { | 125 | { |
| 126 | new Thread(new MoveEventThread(((MapViewGameState) Game.getGameState()).getCurrentMap().getEvent(label), actions)).start(); | 126 | new MoveEventThread(mapView.getCurrentMap().getEvent(label), actions).start(); |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | /** | 129 | /** |
