summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Board.java1
-rw-r--r--core/src/ch/asynk/tankontank/engine/SearchBoard.java1
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java1
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateRotate.java1
4 files changed, 0 insertions, 4 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java
index 0a8541d..d4271ef 100644
--- a/core/src/ch/asynk/tankontank/engine/Board.java
+++ b/core/src/ch/asynk/tankontank/engine/Board.java
@@ -108,7 +108,6 @@ public abstract class Board implements Disposable
evenRow = !evenRow;
}
- // TODO .sides = new Orientation[6]; parametrized by Config ?
this.sides = new Orientation[6];
sides[0] = Orientation.NORTH;
sides[1] = Orientation.NORTH_EAST;
diff --git a/core/src/ch/asynk/tankontank/engine/SearchBoard.java b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
index 632dfdd..840650c 100644
--- a/core/src/ch/asynk/tankontank/engine/SearchBoard.java
+++ b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
@@ -63,7 +63,6 @@ public class SearchBoard
this.los = new ArrayList<Node>(10);
}
- // FIXME be carefull with this if I expand the size of the board to be bigger than the playable size
private boolean inMap(int col, int row)
{
if ((row < 0) || (row >= rows))
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 8a72b91..93256ab 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -174,7 +174,6 @@ public abstract class Map extends Board
public void promote(Pawn pawn, Pawn with)
{
- // TODO promote amination
removePawn(pawn);
setPawnOnto(with, pawn.getTile(), pawn.getOrientation());
activatedPawns.add(with);
diff --git a/core/src/ch/asynk/tankontank/game/states/StateRotate.java b/core/src/ch/asynk/tankontank/game/states/StateRotate.java
index 9c856fb..191371d 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateRotate.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateRotate.java
@@ -53,7 +53,6 @@ public class StateRotate extends StateCommon
{
if (rotationSet) return;
- // FIXME: out of board Orientation ???
o = Orientation.fromAdj(to.getCol(), to.getRow(), downHex.getCol(), downHex.getRow());
if (o == Orientation.KEEP) return;