mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-29 12:44:43 +02:00
Legger til alle tegnbare roboter til debug modus
This commit is contained in:
@ -61,6 +61,9 @@ public class Game implements IDrawableGame {
|
|||||||
*/
|
*/
|
||||||
private void initializeDebugMode() {
|
private void initializeDebugMode() {
|
||||||
List<Robot> robots = new ArrayList<>();
|
List<Robot> 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)));
|
||||||
try {
|
try {
|
||||||
gameBoard = BoardLoaderUtil.loadBoard("boards/all_tiles_test_board.txt", robots);
|
gameBoard = BoardLoaderUtil.loadBoard("boards/all_tiles_test_board.txt", robots);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Reference in New Issue
Block a user