summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/Action.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/engine/Action.java b/engine/Action.java
index f544909..3009fa0 100644
--- a/engine/Action.java
+++ b/engine/Action.java
@@ -8,14 +8,27 @@ public class Action {
// Requirement: printable,parseable,coverage
// Coverage: System,player
public enum Type {System,Player};
+ // System info merely reflect system state
+ // Player info pertaining to players;
+ public enum Place {Info,East,South,West,North};
public enum Act {Info,CardDraw,CardPut,Aside};
Type type;
+ Act act;
+ Place place;
+ String message;
public Type getType() {
return type;
}
+ public Action(Type type,Place place,Act act,String message)
+ {
+ this.type = type;
+ this.place = place;
+ this.act = act;
+ this.message = message;
+ }
public Action(String str)
{
}