Property | Type | Description | |
---|---|---|---|
nextObjectives | List |
Property | Type | Description | |
---|---|---|---|
state | condition |
Method | Description | |
---|---|---|
Complete ( ) : bool |
Determines if an objective is complete.
|
|
HandleNotification ( |
An event handler meant to be registered with the event manager.
|
|
Initialize ( |
Sets the objective to a starting state. This way, an objective may be predictable when reused. Notably registers event handlers.
|
|
Objective ( int id ) : System |
Constructor... yeah
|
|
Update ( |
Used for time sensitive objectives.
|
|
WrapUp ( |
Called after the objective has been completed. Performs any transition events before the quest moves to the next objective. Notably cleans up registered event handlers.
|
public HandleNotification ( |
||
eventinfo | The event data passed to the handler | |
return | void |
public Initialize ( |
||
gameReference | A reference to the game so that the event /// manager is accessible. Also, other initializing actions may be taken. | |
return | void |
public Update ( |
||
gameTime | Time since the last update cycle. | |
return | void |
public WrapUp ( |
||
gameReference | ||
return | void |