diff --git a/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java b/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java index ce6e9a6..cfd9fe1 100644 --- a/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java +++ b/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java @@ -397,6 +397,11 @@ public class RoboRallyGame implements IDrawableGame { gameBoard.doLaserCleanup(); } + /** + * Runs all the programs in the correct order for the phase that is given. + * @param phase The phaser Nr we are in. + * @throws InterruptedException If it gets interupted while trying to sleep + */ private void runProgramCards(int phase) throws InterruptedException { List robotsToDoAction = new ArrayList<>(); List programToBeRun = new ArrayList<>();