summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-22 14:59:51 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-22 14:59:51 +0100
commit0d0fd6553bfe1d556bc763871e393a7198b7023f (patch)
treed752f0bcbea30f941ee4d534d4de7db60aab3a72 /core/src/ch
parent7927498b806d87557e2bb0f7b1ec6704d649fc99 (diff)
downloadRustAndDust-0d0fd6553bfe1d556bc763871e393a7198b7023f.zip
RustAndDust-0d0fd6553bfe1d556bc763871e393a7198b7023f.tar.gz
Battles: add _id and description
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/Battle00.java7
-rw-r--r--core/src/ch/asynk/rustanddust/game/battles/BattleTest.java2
2 files changed, 9 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/battles/Battle00.java b/core/src/ch/asynk/rustanddust/game/battles/Battle00.java
index d94c1ad..5a6a3eb 100644
--- a/core/src/ch/asynk/rustanddust/game/battles/Battle00.java
+++ b/core/src/ch/asynk/rustanddust/game/battles/Battle00.java
@@ -14,7 +14,14 @@ public class Battle00 extends BattleCommon
public Battle00(Factory factory)
{
super(factory);
+ _id = 1;
name = "Les Fleurs du mal";
+ description = "This is a test battle."
+ + "\nDon't expect it to be neither interesting,\nnor well ballanced."
+ + "\n\nThe victory conditions are:"
+ + "\n * at any point, destroy all enemy units."
+ + "\n * after 8 turns,\n hold more objectives than your opponent."
+ + "";
mapType = Factory.MapType.MAP_00;
}
diff --git a/core/src/ch/asynk/rustanddust/game/battles/BattleTest.java b/core/src/ch/asynk/rustanddust/game/battles/BattleTest.java
index 475d154..26e9999 100644
--- a/core/src/ch/asynk/rustanddust/game/battles/BattleTest.java
+++ b/core/src/ch/asynk/rustanddust/game/battles/BattleTest.java
@@ -16,7 +16,9 @@ public class BattleTest extends BattleCommon
public BattleTest(Factory factory)
{
super(factory);
+ _id = 0;
name = "* Alpha Test *";
+ description = "This is a fast test purpose only battlefield.";
mapType = Factory.MapType.MAP_00;
}