From 30251f6d886a9dd8a957f4231cf519742f342ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Tue, 29 Mar 2016 00:47:36 +0200 Subject: [PATCH] added echoes to the Game class --- cicaprojekt/Game.java | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) 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) {} }