From 83a8dd35d8575280abf9bbb5c7f86b37ceae8e8c Mon Sep 17 00:00:00 2001 From: Tobydrama Date: Sat, 22 Feb 2020 15:04:41 +0100 Subject: [PATCH] fixed som codacy issus with board --- src/main/java/inf112/fiasko/roborally/objects/Board.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/inf112/fiasko/roborally/objects/Board.java b/src/main/java/inf112/fiasko/roborally/objects/Board.java index eceb6c6..8453e59 100644 --- a/src/main/java/inf112/fiasko/roborally/objects/Board.java +++ b/src/main/java/inf112/fiasko/roborally/objects/Board.java @@ -19,7 +19,7 @@ public class Board { * @param otherObjects a grid containing all the other Objects like flags and conveyor belts * @param aliveRobots a list of all the robots that are currently alive */ - public void Board(Grid walls, Grid otherObjects, ArrayList aliveRobots){ + public Board(Grid walls, Grid otherObjects, ArrayList aliveRobots){ this.walls=walls; this.otherObjects=otherObjects; this.aliveRobots=aliveRobots;