summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/battles
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-02 14:59:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-02 14:59:00 +0100
commit619bc54eb1d6f84937f35f00c55de74d22797d50 (patch)
tree21835f8295843f0297018f63fb5eb110a8fa1a57 /core/src/ch/asynk/rustanddust/game/battles
parent6aa0307954fa510cab15657bdbd4b80a9b905c8c (diff)
downloadRustAndDust-619bc54eb1d6f84937f35f00c55de74d22797d50.zip
RustAndDust-619bc54eb1d6f84937f35f00c55de74d22797d50.tar.gz
Battle[Common]: add String unload() and implement it
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/battles')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
index 9c43b9b..f34e594 100644
--- a/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
+++ b/core/src/ch/asynk/rustanddust/game/battles/BattleCommon.java
@@ -63,6 +63,12 @@ public abstract class BattleCommon implements Battle
}
@Override
+ public String unload()
+ {
+ return map.unload(getPlayer(), getOpponent());
+ }
+
+ @Override
public int getId()
{
return _id;