Files
XPlaneConnectCSP/Java/Project_Models/Cognitive_Model/Action.java
2024-11-23 23:43:56 -05:00

27 lines
448 B
Java

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;
}
}