This is an abstract class for creating in-game triggers. More...
#include <worldtrigger.h>
Public Member Functions | |
WorldTrigger (const String &name) | |
Class constructor. More... | |
virtual | ~WorldTrigger () |
Class destructor. | |
virtual void | ApplyTrigger ()=0 |
Applies the effects of this trigger. | |
virtual bool | ConditionsAreMet ()=0 |
Checks for the condition for the trigger. More... | |
virtual String | GetName () |
Gets the name of this trigger. More... | |
Protected Attributes | |
String | Name |
This is an abstract class for creating in-game triggers.
Definition at line 53 of file worldtrigger.h.
Mezzanine::WorldTrigger::WorldTrigger | ( | const String & | name) |
Class constructor.
name | The unique name to be given to this trigger. |
Definition at line 47 of file worldtrigger.cpp.
|
pure virtual |
Checks for the condition for the trigger.
|
virtual |
Gets the name of this trigger.
Definition at line 56 of file worldtrigger.cpp.