summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-21 17:08:25 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-21 17:08:25 +0100
commit98048c940837b09fd0eee96d5e08ab9b57748a27 (patch)
tree32749120a17f233fdd274a867f5de67e0e9146b1 /core/src/ch
parent1985315e60a7c9d83541daa47e602057d10d41e3 (diff)
downloadRustAndDust-98048c940837b09fd0eee96d5e08ab9b57748a27.zip
RustAndDust-98048c940837b09fd0eee96d5e08ab9b57748a27.tar.gz
add TODO
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/game/Hex.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hex.java b/core/src/ch/asynk/tankontank/game/Hex.java
index 019e02f..0abd9d6 100644
--- a/core/src/ch/asynk/tankontank/game/Hex.java
+++ b/core/src/ch/asynk/tankontank/game/Hex.java
@@ -50,6 +50,7 @@ public class Hex extends Tile
public Unit getUnit()
{
+ // TODO ugly
if (isEmpty()) return null;
return (Unit) iterator().next();
}