diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-03 11:57:03 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-03 11:57:03 +0100 |
commit | 94d279a514326f747ccac8c803b4500955c7a368 (patch) | |
tree | 448c3d46dd5257b8e7021cd4a5ebd0d911ccc018 /core/src/ch/asynk/rustanddust/engine | |
parent | cbcfb75fbd51915b68c51d15d85fe102a85b50de (diff) | |
download | RustAndDust-94d279a514326f747ccac8c803b4500955c7a368.zip RustAndDust-94d279a514326f747ccac8c803b4500955c7a368.tar.gz |
PawnId/UnitID -> PawnCode/UnitCode
Diffstat (limited to 'core/src/ch/asynk/rustanddust/engine')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/Pawn.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/Pawn.java b/core/src/ch/asynk/rustanddust/engine/Pawn.java index 6cfa6fa..5a40c9f 100644 --- a/core/src/ch/asynk/rustanddust/engine/Pawn.java +++ b/core/src/ch/asynk/rustanddust/engine/Pawn.java @@ -25,7 +25,7 @@ public abstract class Pawn implements Moveable, Disposable { } - public interface PawnId + public interface PawnCode { } @@ -51,7 +51,7 @@ public abstract class Pawn implements Moveable, Disposable public abstract boolean preventDefenseOn(Tile tile); public abstract boolean isUnit(); - public abstract boolean isA(PawnId id); + public abstract boolean isA(PawnCode code); public abstract boolean isA(PawnType type); public abstract boolean isHq(); public abstract boolean isHqOf(Pawn other); |