Task 5 [Fixed slight string error in player statement] and the bug is fixed (Just need some comments later lol)
Signed-off-by: Immanuel Alvaro Bhirawa <u7280427@anu.edu.au>
This commit is contained in:
@@ -331,7 +331,7 @@ public class Viewer extends Application {
|
|||||||
container += ", placed villages at ";
|
container += ", placed villages at ";
|
||||||
int counterT = 0;
|
int counterT = 0;
|
||||||
while(i < parseSplit.length){
|
while(i < parseSplit.length){
|
||||||
counter++;
|
counterT++;
|
||||||
String[] coords = parseSplit[i].split(",");
|
String[] coords = parseSplit[i].split(",");
|
||||||
Rectangle village = new Rectangle(boardHeightPx/boardHeight
|
Rectangle village = new Rectangle(boardHeightPx/boardHeight
|
||||||
- 15, boardHeightPx/boardHeight - 15, Color.LIGHTGOLDENRODYELLOW);
|
- 15, boardHeightPx/boardHeight - 15, Color.LIGHTGOLDENRODYELLOW);
|
||||||
|
|||||||
Reference in New Issue
Block a user