legacy commit 4 (backlog)
This commit is contained in:
26
Java/Project_Models/Cognitive_Model/Action.java
Normal file
26
Java/Project_Models/Cognitive_Model/Action.java
Normal file
@@ -0,0 +1,26 @@
|
||||
public abstract class Action {
|
||||
|
||||
|
||||
|
||||
Integer priority; //Priority of the Task
|
||||
Integer delay; //Potential Delay before starting the task
|
||||
Integer taskTime; //How long should the task take
|
||||
boolean taskComplete; //Is the task completed?
|
||||
int actionType;
|
||||
|
||||
public Action(int actionType, int delay){
|
||||
this.actionType = actionType;
|
||||
this.delay = delay;
|
||||
}
|
||||
|
||||
public int getType(){
|
||||
return actionType;
|
||||
}
|
||||
|
||||
|
||||
public Integer getDelay(){
|
||||
return delay;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user