mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Fikser uinitialisert playerList
This commit is contained in:
parent
5ee301e853
commit
403f4a85b9
@ -106,6 +106,7 @@ public class RoboRallyGame implements IDrawableGame {
|
||||
robots.add(new Robot(RobotID.ROBOT_6, new Position(7, 7)));
|
||||
robots.add(new Robot(RobotID.ROBOT_7, new Position(6, 7)));
|
||||
robots.add(new Robot(RobotID.ROBOT_8, new Position(6, 8)));
|
||||
playerList = new ArrayList<>();
|
||||
playerList.add(new Player(RobotID.ROBOT_1, "Player1"));
|
||||
playerList.add(new Player(RobotID.ROBOT_2, "Player2"));
|
||||
playerList.add(new Player(RobotID.ROBOT_3, "Player3"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user