diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-29 07:53:28 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-12-29 07:53:28 +0100 |
commit | b49dd88171a0f17b683b10bfc8f86c199ef21c57 (patch) | |
tree | aac9b52c6bc24e38705de126d81126f4507828e8 /core/src/ch/asynk/rustanddust/engine/gfx | |
parent | 99f74fefd00c38a815316ed6ec2c84144a1e91ff (diff) | |
download | RustAndDust-b49dd88171a0f17b683b10bfc8f86c199ef21c57.zip RustAndDust-b49dd88171a0f17b683b10bfc8f86c199ef21c57.tar.gz |
HeadedPawn: has a chit, a body and a turret that can aim
Diffstat (limited to 'core/src/ch/asynk/rustanddust/engine/gfx')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/gfx/Moveable.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/gfx/Moveable.java b/core/src/ch/asynk/rustanddust/engine/gfx/Moveable.java index e8790ab..b3f3541 100644 --- a/core/src/ch/asynk/rustanddust/engine/gfx/Moveable.java +++ b/core/src/ch/asynk/rustanddust/engine/gfx/Moveable.java @@ -5,12 +5,15 @@ import ch.asynk.rustanddust.engine.Faction; public interface Moveable extends Drawable { public void setAlpha(float alpha); + public boolean canAim(); public float getX(); public float getY(); public float getWidth(); public float getHeight(); public float getRotation(); + public float getTurretRotation(); public void setPosition(float x, float y); public void setPosition(float x, float y, float r); + public void setTurretRotation(float r); public Faction getFaction(); } |