Advanced Strategic Command
Public Member Functions | List of all members
TriggerNothing Class Reference

#include <gameevents.h>

Inheritance diagram for TriggerNothing:
Inheritance graph
[legend]

Public Member Functions

 TriggerNothing (EventTriggerID id)
 
virtual void readData (tnstream &stream)
 
virtual void writeData (tnstream &stream)
 
void setup ()
 
- Public Member Functions inherited from EventTrigger
State state (int player)
 takes the inversion into account, which getState(int) does not More...
 
virtual ASCString getDetailledName () const =0
 
virtual ASCString getTypeName () const =0
 
virtual void arm ()
 
void setMap (GameMap *gamemap_)
 
void setEvent (Event *ev)
 
EventTriggerID getTriggerID ()
 
virtual ~EventTrigger ()
 

Additional Inherited Members

- Public Types inherited from EventTrigger
enum  State { unfulfilled, fulfilled, finally_fulfilled, finally_failed }
 
- Public Attributes inherited from EventTrigger
bool invert
 
- Protected Member Functions inherited from EventTrigger
 EventTrigger (EventTriggerID id)
 
virtual State getState (int player)=0
 
bool isFulfilled ()
 
- Protected Attributes inherited from EventTrigger
GameMapgamemap
 
Eventevent
 

Detailed Description

Definition at line 117 of file gameevents.h.

Constructor & Destructor Documentation

TriggerNothing::TriggerNothing ( EventTriggerID  id)
inline

Definition at line 119 of file gameevents.h.

Member Function Documentation

void TriggerNothing::readData ( tnstream stream)
virtual

Implements EventTrigger.

Definition at line 71 of file gameevents.cpp.

References versionTest().

void TriggerNothing::setup ( void  )
inlinevirtual

Implements EventTrigger.

Definition at line 122 of file gameevents.h.

void TriggerNothing::writeData ( tnstream stream)
virtual

Implements EventTrigger.

Definition at line 76 of file gameevents.cpp.

References tnstream::writeInt().


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