summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java1
-rw-r--r--core/src/ch/asynk/rustanddust/game/Map.java1
-rw-r--r--core/src/ch/asynk/rustanddust/game/ctrl/Solo.java3
3 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java
index 6443372..36aa96f 100644
--- a/core/src/ch/asynk/rustanddust/game/Ctrl.java
+++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java
@@ -47,6 +47,7 @@ public abstract class Ctrl implements Disposable
private StateType stateAfterAnimation;
public abstract void init();
+ protected abstract void processAction();
protected abstract void processTurn();
public static Ctrl getCtrl(final RustAndDust game)
diff --git a/core/src/ch/asynk/rustanddust/game/Map.java b/core/src/ch/asynk/rustanddust/game/Map.java
index 2208448..87030b3 100644
--- a/core/src/ch/asynk/rustanddust/game/Map.java
+++ b/core/src/ch/asynk/rustanddust/game/Map.java
@@ -32,6 +32,7 @@ public abstract class Map extends Map4Orders
public void actionDone()
{
+ game.ctrl.processAction();
}
public void turnDone()
diff --git a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
index 9d5a20d..1a7a0af 100644
--- a/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
+++ b/core/src/ch/asynk/rustanddust/game/ctrl/Solo.java
@@ -18,5 +18,8 @@ public class Solo extends Ctrl
}
@Override
+ protected void processAction() { }
+
+ @Override
protected void processTurn() { }
}