LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
GameModeChangeEvent Class Reference

Event that fires when the game mode changes to a particular mode. More...

#include <GameModeChangeEvent.h>

Inheritance diagram for GameModeChangeEvent:
Collaboration diagram for GameModeChangeEvent:

Public Member Functions

virtual bool Fired ()
 Checks if the event fired this cycle (condition not true last cycle but true this cycle).
 
virtual bool CheckCondition ()
 Checks if the condition required to fire this event is met, regardless of the last cycle.
 
- Public Member Functions inherited from Event
virtual void Update ()
 Updates the event. Should be called at the end of the cycle.
 
void AddStartListener (Automation *routine)
 Adds an automation routine to be started when this event fires.
 
void AddAbortListener (Automation *routine)
 Adds an automation routine to be aborted when this event fires.
 
void AddContinueListener (Automation *routine)
 Adds an automation routine to be continued when this event fires.
 
std::vector< Automation * > & GetStartListeners ()
 Gets the automation routines that are started by this event.
 
std::vector< Automation * > & GetAbortListeners ()
 Gets the automation routines that are aborted by this event.
 
std::vector< Automation * > & GetContinueListeners ()
 Gets the automation routines that are continued by this event.
 

Detailed Description

Event that fires when the game mode changes to a particular mode.

Member Function Documentation

bool GameModeChangeEvent::CheckCondition ( )
virtual

Checks if the condition required to fire this event is met, regardless of the last cycle.

Returns
if the condition is met

Implements Event.

bool GameModeChangeEvent::Fired ( )
virtual

Checks if the event fired this cycle (condition not true last cycle but true this cycle).

Returns
if the event fired

Reimplemented from Event.

Here is the call graph for this function:


The documentation for this class was generated from the following files: