restructuring for project (Backlog 3)

This commit is contained in:
cs-powell
2024-11-24 13:32:21 -05:00
parent d2156ae9bc
commit e574ca3215
38 changed files with 680 additions and 179 deletions

View File

@@ -0,0 +1,40 @@
package ProjectModels.CognitiveModel;
public abstract class Action {
Integer priority; //Priority of the Task
Integer delay; //Potential Delay before starting the task
String targetDREF;
Integer taskTime; //How long should the task take
boolean taskComplete; //Is the task completed?
ActionType actionType;
public Action(ActionType actionType, int delay){
this.actionType = actionType;
this.delay = delay;
this.targetDREF = null;
}
public Action(ActionType actionType, int delay, String target){
this.actionType = actionType;
this.delay = delay;
targetDREF = target;
}
public ActionType getType(){
return actionType;
}
public Integer getDelay(){
return delay;
}
public String getTarget(){
return targetDREF;
}
}