summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-01 17:59:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-01 17:59:39 +0100
commitc4be9c25300236d6a67cf1f65236a011bfab90b3 (patch)
tree227b4cffe990d3283a521c1baf3ae8ecc19e87c0 /core/src/ch/asynk/tankontank
parent54f27aa9b0825db75f2e15f2cf7342215433e9a7 (diff)
downloadRustAndDust-c4be9c25300236d6a67cf1f65236a011bfab90b3.zip
RustAndDust-c4be9c25300236d6a67cf1f65236a011bfab90b3.tar.gz
remove unnecessary comments
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-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;