org.mars_sim.msp.simulation.person.ai.task
Class TaskEvent
java.lang.Object
org.mars_sim.msp.simulation.events.HistoricalEvent
org.mars_sim.msp.simulation.person.ai.task.TaskEvent
public class TaskEvent
- extends HistoricalEvent
This class represents the historical actions involving tasks.
Field Summary |
static java.lang.String |
DEVELOPMENT
|
static java.lang.String |
FINISH
|
static java.lang.String |
START
|
Constructor Summary |
TaskEvent(Person person,
Task task,
java.lang.String eventType,
java.lang.String description)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
START
public static final java.lang.String START
- See Also:
- Constant Field Values
FINISH
public static final java.lang.String FINISH
- See Also:
- Constant Field Values
DEVELOPMENT
public static final java.lang.String DEVELOPMENT
- See Also:
- Constant Field Values
TaskEvent
public TaskEvent(Person person,
Task task,
java.lang.String eventType,
java.lang.String description)
- Constructor
- Parameters:
person
- The person performing the task.task
- The task with the event.eventType
- The type of event.description
- Further description of the event (may be empty string).