summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-07 13:37:54 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-07 13:37:54 +0100
commit6a87c1f59fd2fa379aeda871cf4535038756cb5e (patch)
tree7a2da6f3edf209714a9ce71d2dda4dae2e08e5bf /core/src/ch/asynk/rustanddust
parent0fcc197ada29d57003e00429af8d0f7f860ba99b (diff)
downloadRustAndDust-6a87c1f59fd2fa379aeda871cf4535038756cb5e.zip
RustAndDust-6a87c1f59fd2fa379aeda871cf4535038756cb5e.tar.gz
BattleCommon: code compression
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java41
1 files changed, 6 insertions, 35 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
index e046628..f80d01f 100644
--- a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
+++ b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
@@ -62,41 +62,12 @@ public abstract class BattleCommon implements Battle
return map.unload(full, getPlayer(), getOpponent());
}
- @Override
- public int getId()
- {
- return _id;
- }
-
- @Override
- public String toString()
- {
- return getName();
- }
-
- @Override
- public String getName()
- {
- return name;
- }
-
- @Override
- public String getDescription()
- {
- return description;
- }
-
- @Override
- public Map getMap()
- {
- return map;
- }
-
- @Override
- public Factory.MapType getMapType()
- {
- return mapType;
- }
+ @Override public int getId() { return _id; }
+ @Override public String toString() { return getName(); }
+ @Override public String getName() { return name; }
+ @Override public String getDescription() { return description; }
+ @Override public Map getMap() { return map; }
+ @Override public Factory.MapType getMapType() { return mapType; }
@Override
public void init(Ctrl ctrl, int idA, int idB)