diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/event/specialmove/WaitMoveEvent.java')
-rw-r--r-- | src/com/fourisland/fourpuzzle/gamestate/mapview/event/specialmove/WaitMoveEvent.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/specialmove/WaitMoveEvent.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/specialmove/WaitMoveEvent.java index eb56b95..565365a 100644 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/specialmove/WaitMoveEvent.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/specialmove/WaitMoveEvent.java | |||
@@ -6,8 +6,6 @@ | |||
6 | package com.fourisland.fourpuzzle.gamestate.mapview.event.specialmove; | 6 | package com.fourisland.fourpuzzle.gamestate.mapview.event.specialmove; |
7 | 7 | ||
8 | import com.fourisland.fourpuzzle.gamestate.mapview.event.Event; | 8 | import com.fourisland.fourpuzzle.gamestate.mapview.event.Event; |
9 | import java.util.logging.Level; | ||
10 | import java.util.logging.Logger; | ||
11 | 9 | ||
12 | /** | 10 | /** |
13 | * WaitMoveEvent pauses for the specifed amount of milliseconds. | 11 | * WaitMoveEvent pauses for the specifed amount of milliseconds. |
@@ -27,7 +25,7 @@ public class WaitMoveEvent implements MoveEvent { | |||
27 | try { | 25 | try { |
28 | Thread.sleep(wait); | 26 | Thread.sleep(wait); |
29 | } catch (InterruptedException ex) { | 27 | } catch (InterruptedException ex) { |
30 | Logger.getLogger(WaitMoveEvent.class.getName()).log(Level.SEVERE, null, ex); | 28 | Thread.currentThread().interrupt(); |
31 | } | 29 | } |
32 | } | 30 | } |
33 | 31 | ||