diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/MapViewGameState.java')
-rwxr-xr-x | src/com/fourisland/fourpuzzle/gamestate/mapview/MapViewGameState.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/MapViewGameState.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/MapViewGameState.java index 68e611b..ccb1829 100755 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/MapViewGameState.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/MapViewGameState.java | |||
@@ -141,6 +141,17 @@ public class MapViewGameState implements GameState { | |||
141 | } | 141 | } |
142 | } | 142 | } |
143 | } | 143 | } |
144 | } | ||
145 | } | ||
146 | |||
147 | if (EventHandler.isRunningEvent()) | ||
148 | { | ||
149 | if ((key.getKey() == KeyEvent.VK_F11) && (PuzzleApplication.INSTANCE.getContext().getResourceMap().getBoolean("debugMode"))) | ||
150 | { | ||
151 | for (LayerEvent ev : currentMap.getEvents()) | ||
152 | { | ||
153 | ev.getCallback().cancel(); | ||
154 | } | ||
144 | } | 155 | } |
145 | } | 156 | } |
146 | } | 157 | } |