mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Endrer fireAllLasers metoden i RoboRallyGame slik at board ikke trenger å sove
This commit is contained in:
parent
606dfd3ccd
commit
0b3d627924
@ -373,7 +373,9 @@ public class RoboRallyGame implements IDrawableGame {
|
||||
/**
|
||||
* Fires all lasers on the game board
|
||||
*/
|
||||
private void fireAllLasers() {
|
||||
private void fireAllLasers() throws InterruptedException {
|
||||
gameBoard.fireAllLasers();
|
||||
sleep();
|
||||
gameBoard.doLaserCleanup();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user