summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-09 18:42:57 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-09 18:42:57 +0100
commit9154d76c30f106e4811a99b34f35c8923967195f (patch)
treeba89574eb57dc730493cbda8ad9648778c6294c6 /core/src/ch/asynk/rustanddust/game
parent4e20b4f3336fa2171159d0e92973923c800cdd83 (diff)
downloadRustAndDust-9154d76c30f106e4811a99b34f35c8923967195f.zip
RustAndDust-9154d76c30f106e4811a99b34f35c8923967195f.tar.gz
Tile: stack is private and is an ArrayListIt
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Hex.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Hex.java b/core/src/ch/asynk/rustanddust/game/Hex.java
index 2bfbc94..f5a990e 100644
--- a/core/src/ch/asynk/rustanddust/game/Hex.java
+++ b/core/src/ch/asynk/rustanddust/game/Hex.java
@@ -52,7 +52,7 @@ public class Hex extends Tile
public Unit getUnit()
{
- return (Unit) stack.peekFirst();
+ return (Unit) getTopPawn();
}
@Override