public class GoalFinishedEvent extends GoalEvent
| Constructor and Description |
|---|
GoalFinishedEvent()
Default constructor.
|
GoalFinishedEvent(Goal goal,
GoalStatus status)
Creates a new goal event with a goal and its status.
|
| Modifier and Type | Method and Description |
|---|---|
GoalStatus |
getStatus() |
void |
setStatus(GoalStatus status) |
public GoalFinishedEvent()
public GoalFinishedEvent(Goal goal, GoalStatus status)
goal - the goal of this event.status - the status of the goal.public GoalStatus getStatus()
public void setStatus(GoalStatus status)
status - the status to set