adjusted the model infield creation to represent the current view postion regarding the placement of the teams on the board
This commit is contained in:
@@ -17,10 +17,10 @@ public Board() {
|
|||||||
for (int i = 0; i < 40; i++) {
|
for (int i = 0; i < 40; i++) {
|
||||||
if (i % 10 == 0) {
|
if (i % 10 == 0) {
|
||||||
infield[i] = new StartNode(
|
infield[i] = new StartNode(
|
||||||
i == 0 ? Color.ARMY :
|
i == 0 ? Color.AIRFORCE :
|
||||||
i == 10 ? Color.AIRFORCE :
|
i == 10 ? Color.CYBER :
|
||||||
i == 20 ? Color.CYBER :
|
i == 20 ? Color.NAVY :
|
||||||
Color.NAVY
|
Color.ARMY
|
||||||
);
|
);
|
||||||
} else if (i == 4 || i == 14 || i == 24 || i == 34) {
|
} else if (i == 4 || i == 14 || i == 24 || i == 34) {
|
||||||
infield[i] = new BonusNode();
|
infield[i] = new BonusNode();
|
||||||
|
|||||||
Reference in New Issue
Block a user