Basis gelegd voor Events: Feedback en Task, daartoe aantal dingen hernoemd.

This commit is contained in:
2011-02-25 14:51:30 +00:00
parent f1313e3109
commit ad25a129f8
22 changed files with 63 additions and 57 deletions

View File

@@ -0,0 +1,27 @@
package pm.event;
import pm.Event;
import pm.value.Action;
import pm.value.Target;
public class Task implements Event {
protected Action action;
protected Target target;
public Task(Action action, Target target) {
this.action = action;
this.target = target;
}
public Task(Action action) {
this(action, Target.SELF);
}
public Action getAction() {
return action;
}
public Target getTarget() {
return target;
}
}