Fixed list methods in Menu
This commit is contained in:
parent
e97d8c4c6d
commit
90a2b58c37
@ -21,7 +21,7 @@ public class Menu {
|
|||||||
tester.loadMap(input[1]);
|
tester.loadMap(input[1]);
|
||||||
break;
|
break;
|
||||||
case "listPlayers":
|
case "listPlayers":
|
||||||
tester.listPlayers();
|
System.out.println(tester.listPlayers());
|
||||||
break;
|
break;
|
||||||
case "move":
|
case "move":
|
||||||
tester.move(input[1]);
|
tester.move(input[1]);
|
||||||
@ -39,7 +39,7 @@ public class Menu {
|
|||||||
tester.rotate(input[1], input[2]);
|
tester.rotate(input[1], input[2]);
|
||||||
break;
|
break;
|
||||||
case "listStargates":
|
case "listStargates":
|
||||||
tester.listStargates();
|
System.out.println(tester.listStargates());
|
||||||
break;
|
break;
|
||||||
case "exit":
|
case "exit":
|
||||||
isExiting = true;
|
isExiting = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user