mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-02-01 07:39:35 +01:00
Legger til alle tegnbare roboter til debug modus
This commit is contained in:
parent
be13228895
commit
49af2069c6
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user