summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-01-24 15:25:58 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-01-24 15:25:58 -0500
commitcd6b39590b8aced78fc2f6ed0c345fb9af1960c0 (patch)
tree807bc48adeb2a78a3f1d9b93f3471012509b5e51 /src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java
parenta581d9b4136bb633771e5e881bbee5a36247b0e0 (diff)
downloadfourpuzzle-cd6b39590b8aced78fc2f6ed0c345fb9af1960c0.tar.gz
fourpuzzle-cd6b39590b8aced78fc2f6ed0c345fb9af1960c0.tar.bz2
fourpuzzle-cd6b39590b8aced78fc2f6ed0c345fb9af1960c0.zip
Replaced checked exceptions with RuntimeException
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java')
-rw-r--r--src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java index 121bbe8..077f42e 100644 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/SpecialEvent.java
@@ -129,18 +129,16 @@ public class SpecialEvent {
129 129
130 /** 130 /**
131 * Triggers the Game Over sequence 131 * Triggers the Game Over sequence
132 * @throws Exception
133 */ 132 */
134 public void GameOver() throws Exception 133 public void GameOver()
135 { 134 {
136 throw new UnsupportedOperationException("Not yet implemented"); 135 throw new UnsupportedOperationException("Not yet implemented");
137 } 136 }
138 137
139 /** 138 /**
140 * Returns the player to the Title Screen 139 * Returns the player to the Title Screen
141 * @throws Exception
142 */ 140 */
143 public void TitleScreen() throws Exception 141 public void TitleScreen()
144 { 142 {
145 throw new UnsupportedOperationException("Not yet implemented"); 143 throw new UnsupportedOperationException("Not yet implemented");
146 } 144 }
@@ -151,9 +149,8 @@ public class SpecialEvent {
151 * @param map The name of the map to move to 149 * @param map The name of the map to move to
152 * @param x The X position on the map to move to 150 * @param x The X position on the map to move to
153 * @param y The Y position on the map to move to 151 * @param y The Y position on the map to move to
154 * @throws java.lang.Exception
155 */ 152 */
156 public void Teleport(String map, int x, int y) throws Exception 153 public void Teleport(String map, int x, int y)
157 { 154 {
158 throw new UnsupportedOperationException("Not yet implemented"); 155 throw new UnsupportedOperationException("Not yet implemented");
159 } 156 }
@@ -162,11 +159,14 @@ public class SpecialEvent {
162 * Waits for a specified interval 159 * Waits for a specified interval
163 * 160 *
164 * @param wait The time to wait in milliseconds 161 * @param wait The time to wait in milliseconds
165 * @throws java.lang.InterruptedException
166 */ 162 */
167 public void Wait(int wait) throws InterruptedException 163 public void Wait(int wait)
168 { 164 {
169 Thread.sleep(wait); 165 try {
166 Thread.sleep(wait);
167 } catch (InterruptedException ex) {
168 Logger.getLogger(SpecialEvent.class.getName()).log(Level.SEVERE, null, ex);
169 }
170 } 170 }
171 171
172} 172}