From b189c920cb713f3e6e7fa71bf37364b05aaf8c62 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Thu, 19 Mar 2020 13:46:45 +0100 Subject: [PATCH] Legger pits til testbrettet --- .../fiasko/roborally/objects/RoboRallyGame.java | 16 ++++++++-------- .../resources/boards/all_tiles_test_board.txt | 8 ++++++-- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java b/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java index aef7691..87b4a7e 100644 --- a/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java +++ b/src/main/java/inf112/fiasko/roborally/objects/RoboRallyGame.java @@ -68,14 +68,14 @@ public class RoboRallyGame implements IDrawableGame { */ private void initializeDebugMode() { List robots = new ArrayList<>(); - robots.add(new Robot(RobotID.ROBOT_1, new Position(0, 16))); - robots.add(new Robot(RobotID.ROBOT_2, new Position(1, 16))); - robots.add(new Robot(RobotID.ROBOT_3, new Position(2, 16))); - robots.add(new Robot(RobotID.ROBOT_4, new Position(3, 16))); - robots.add(new Robot(RobotID.ROBOT_5, new Position(4, 16))); - robots.add(new Robot(RobotID.ROBOT_6, new Position(5, 16))); - robots.add(new Robot(RobotID.ROBOT_7, new Position(6, 16))); - robots.add(new Robot(RobotID.ROBOT_8, new Position(7, 16))); + robots.add(new Robot(RobotID.ROBOT_1, new Position(0, 18))); + robots.add(new Robot(RobotID.ROBOT_2, new Position(1, 18))); + robots.add(new Robot(RobotID.ROBOT_3, new Position(2, 18))); + robots.add(new Robot(RobotID.ROBOT_4, new Position(3, 18))); + robots.add(new Robot(RobotID.ROBOT_5, new Position(4, 18))); + robots.add(new Robot(RobotID.ROBOT_6, new Position(5, 18))); + robots.add(new Robot(RobotID.ROBOT_7, new Position(6, 18))); + robots.add(new Robot(RobotID.ROBOT_8, new Position(7, 18))); try { gameBoard = BoardLoaderUtil.loadBoard("boards/all_tiles_test_board.txt", robots); } catch (IOException e) { diff --git a/src/main/resources/boards/all_tiles_test_board.txt b/src/main/resources/boards/all_tiles_test_board.txt index 224b5eb..27ff3f3 100644 --- a/src/main/resources/boards/all_tiles_test_board.txt +++ b/src/main/resources/boards/all_tiles_test_board.txt @@ -1,4 +1,4 @@ -8 19 +8 21 01;1 01;3 01;5 01;7 02;1 02;3 02;5 02;7 03;1 03;3 03;5 03;7 04;1 04;3 04;5 04;7 05;1 05;3 05;5 05;7 06;1 06;3 06;5 06;7 @@ -14,7 +14,9 @@ 25;1 25;3 25;5 25;7 26;1 26;3 26;5 26;7 27;1 27;3 27;5 27;7 28;1 28;3 28;5 28;7 29;1 29;3 29;5 29;7 30;1 30;3 30;5 30;7 -31;1 31;3 31;5 31;7 01;1 01;1 01;1 01;1 +31;1 31;3 31;5 31;7 32;1 32;3 32;5 32;7 +33;1 33;3 33;5 33;7 34;1 34;3 34;5 34;7 +35;1 35;3 35;5 35;7 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 01;1 @@ -35,5 +37,7 @@ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 1;1 1;3 1;5 1;7 2;2 2;4 2;6 2;8 3;1 3;3 3;5 3;7 4;1 4;3 4;5 4;7 \ No newline at end of file