diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-25 22:45:23 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-25 22:45:23 +0200 |
commit | eb7a9137c72d4c1681f7f7aae32e0dabfa83f6e3 (patch) | |
tree | 4c627a46e8ff45ebfef473bddd0b0f9bf2b0458c /core/src/ch/asynk/tankontank/engine | |
parent | 819e9b740d7420838067a23383c6252df3024b92 (diff) | |
download | RustAndDust-eb7a9137c72d4c1681f7f7aae32e0dabfa83f6e3.zip RustAndDust-eb7a9137c72d4c1681f7f7aae32e0dabfa83f6e3.tar.gz |
Pawn, Unit: add getAttackRangeFrom(Tile)
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Pawn.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Pawn.java b/core/src/ch/asynk/tankontank/engine/Pawn.java index 8ccc77b..27e6303 100644 --- a/core/src/ch/asynk/tankontank/engine/Pawn.java +++ b/core/src/ch/asynk/tankontank/engine/Pawn.java @@ -28,6 +28,7 @@ public abstract class Pawn extends Image implements Disposable public abstract int getRoadMarchBonus(); public abstract boolean isEnemy(Pawn other); public abstract int getAngleOfAttack(); + public abstract int getAttackRangeFrom(Tile tile); public Pawn(TextureRegion pawn, TextureAtlas overlays) { |