diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-24 12:27:50 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-24 12:27:50 +0200 |
commit | 87bef5fc2936142336272413b9c924b638ae3425 (patch) | |
tree | 71d3986bc767a2ee046ef849b043766d037f7ec3 /core/src/ch/asynk/tankontank/game | |
parent | ae64c344880b14ecb3984ec23d5f3620d2d09c2c (diff) | |
download | RustAndDust-87bef5fc2936142336272413b9c924b638ae3425.zip RustAndDust-87bef5fc2936142336272413b9c924b638ae3425.tar.gz |
Pawn and Unit: int getMvt()
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Unit.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Unit.java b/core/src/ch/asynk/tankontank/game/Unit.java index 316f664..4a9741a 100644 --- a/core/src/ch/asynk/tankontank/game/Unit.java +++ b/core/src/ch/asynk/tankontank/game/Unit.java @@ -15,6 +15,9 @@ public class Unit extends Pawn public boolean ht; public Army army; + @Override + public int getMvt() { return mp; } + // hard tager public Unit(Army army, boolean hq, int range, int defense, int movementPoints, TextureRegion region, TextureAtlas atlas) { |