From 0d0fd6553bfe1d556bc763871e393a7198b7023f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 22 Jan 2016 14:59:51 +0100 Subject: Battles: add _id and description --- core/src/ch/asynk/rustanddust/game/battles/Battle00.java | 7 +++++++ core/src/ch/asynk/rustanddust/game/battles/BattleTest.java | 2 ++ 2 files changed, 9 insertions(+) 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; } -- cgit v1.1-2-g2b99