diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-14 22:00:37 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-14 22:00:37 +0100 |
commit | 80d112498d3dbf5226490687d38e3059a18cc578 (patch) | |
tree | 7967ed8076085a3466e178e892621a380d059aa1 /core/src/ch/asynk/rustanddust/game | |
parent | f510ce9555e9cbc78c6d7e73fc7b22a1128c922b (diff) | |
download | RustAndDust-80d112498d3dbf5226490687d38e3059a18cc578.zip RustAndDust-80d112498d3dbf5226490687d38e3059a18cc578.tar.gz |
add game.ctrl.solo: first step into multimode game
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Ctrl.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/ctrl/Solo.java | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 4bb0893..e793ba0 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -17,7 +17,7 @@ import ch.asynk.rustanddust.game.states.StateReinforcement; import ch.asynk.rustanddust.game.states.StateDeployment; import ch.asynk.rustanddust.game.states.StateWithdraw; -public class Ctrl implements Disposable +public abstract class Ctrl implements Disposable { public final RustAndDust game; public final Battle battle; diff --git a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java new file mode 100644 index 0000000..b1ad673 --- /dev/null +++ b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java @@ -0,0 +1,13 @@ +package ch.asynk.rustanddust.game.ctrl; + +import ch.asynk.rustanddust.RustAndDust; +import ch.asynk.rustanddust.game.Ctrl; +import ch.asynk.rustanddust.game.Battle; + +public class Solo extends Ctrl +{ + public Solo(final RustAndDust game, final Battle battle) + { + super(game, battle); + } +} |