summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-31 14:59:34 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-31 14:59:34 +0100
commitaf674395951f8bca1effe8be36f9941d7d575678 (patch)
treef308779f3da824fd8d3a2361cc4e7af8dcb0cc44 /core
parent032a15831adc3ee834ce5bfb13282f06e363c379 (diff)
downloadRustAndDust-af674395951f8bca1effe8be36f9941d7d575678.zip
RustAndDust-af674395951f8bca1effe8be36f9941d7d575678.tar.gz
update TODO file and TODO/FIXME comments
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Board.java2
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java2
-rw-r--r--core/src/ch/asynk/tankontank/game/states/StateRotate.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java
index 6379bed..405b8d7 100644
--- a/core/src/ch/asynk/tankontank/engine/Board.java
+++ b/core/src/ch/asynk/tankontank/engine/Board.java
@@ -109,7 +109,7 @@ public abstract class Board implements Disposable
evenRow = !evenRow;
}
- // TODO parametrized with Config ?
+ // 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/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 9411741..f391076 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -170,7 +170,7 @@ public abstract class Map extends Board
public void promote(Pawn pawn, Pawn with)
{
- // TODO amination
+ // 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 e9d6b65..b651312 100644
--- a/core/src/ch/asynk/tankontank/game/states/StateRotate.java
+++ b/core/src/ch/asynk/tankontank/game/states/StateRotate.java
@@ -56,7 +56,7 @@ public class StateRotate extends StateCommon
{
if (rotationSet) return;
- // FIXME: if to is on the border of the board ...
+ // FIXME: out of board Orientation ???
o = Orientation.fromAdj(to.getCol(), to.getRow(), downHex.getCol(), downHex.getRow());
if (o == Orientation.KEEP) return;