From 98048c940837b09fd0eee96d5e08ab9b57748a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 21 Nov 2014 17:08:25 +0100 Subject: add TODO --- core/src/ch/asynk/tankontank/game/Hex.java | 1 + 1 file changed, 1 insertion(+) 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(); } -- cgit v1.1-2-g2b99