mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-28 04:04:42 +02:00
Fikser retningsproblemer på brettet Closes #19
Fikser retning når en leser fra Grid Fikser retning når en laster inn tiles og vegger via BoardLoaderUtil til et grid Fikser posisjonering av tegnbare objekter
This commit is contained in:
@ -30,7 +30,7 @@ public class BoardTest {
|
||||
robotList = new ArrayList<>();
|
||||
robotList.add(new Robot(RobotID.ROBOT_1, someValidPosition));
|
||||
robotList.add(new Robot(RobotID.ROBOT_2, someValidPosition));
|
||||
wallGrid.setElement(2, 3, new Wall(WallType.WALL_NORMAL, Direction.SOUTH));
|
||||
wallGrid.setElement(2, 1, new Wall(WallType.WALL_NORMAL, Direction.SOUTH));
|
||||
wallGrid.setElement(2, 2, new Wall(WallType.WALL_NORMAL, Direction.EAST));
|
||||
wallGrid.setElement(1, 2, new Wall(WallType.WALL_CORNER, Direction.NORTH_EAST));
|
||||
board = new Board(tileGrid, wallGrid, robotList);
|
||||
|
Reference in New Issue
Block a user