diff --git a/cicaprojekt/Game.java b/cicaprojekt/Game.java index 889f128..5cc71d2 100644 --- a/cicaprojekt/Game.java +++ b/cicaprojekt/Game.java @@ -5,12 +5,27 @@ public class Game { private Dungeon dungeon; private FlowOfTime flowoftime; - public void allZPMsCollected() {} - - public void startGame() {} - - public void stopGame() {} + public void allZPMsCollected() { + Menu.addTab(); + System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Game.allZPMsCollected()"); + this.stopGame(); + System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Game.allZPMsCollected()"); + Menu.removeTab(); + } + public void startGame() { + Menu.addTab(); + System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Game.startGame()"); + System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Game.startGame()"); + Menu.removeTab(); + } + public void stopGame() { + Menu.addTab(); + System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Game.stopGame()"); + System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Game.stopGame()"); + Menu.removeTab(); + } + public static void main(String[] args) {} }