Advanced Strategic Command
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EventAction Class Referenceabstract

#include <gameeventsystem.h>

Inheritance diagram for EventAction:
Inheritance graph
[legend]

Public Member Functions

virtual void readData (tnstream &stream)=0
 
virtual void writeData (tnstream &stream)=0
 
virtual ASCString getName () const =0
 
virtual ASCString getLocalizationString () const
 
virtual void setLocalizationString (const ASCString &s)
 
virtual void execute (MapDisplayInterface *md)=0
 
virtual void setup ()=0
 
void setMap (GameMap *gamemap_)
 
EventActionID getActionID ()
 
virtual ~EventAction ()
 

Protected Member Functions

 EventAction (EventActionID id)
 

Protected Attributes

GameMapgamemap
 

Detailed Description

Definition at line 93 of file gameeventsystem.h.

Constructor & Destructor Documentation

EventAction::EventAction ( EventActionID  id)
inlineprotected

Definition at line 97 of file gameeventsystem.h.

virtual EventAction::~EventAction ( )
inlinevirtual

Definition at line 111 of file gameeventsystem.h.

Member Function Documentation

virtual void EventAction::execute ( MapDisplayInterface md)
pure virtual
EventActionID EventAction::getActionID ( )
inline

Definition at line 110 of file gameeventsystem.h.

Referenced by Event::write().

virtual ASCString EventAction::getLocalizationString ( ) const
inlinevirtual

Reimplemented in DisplayImmediateMessage.

Definition at line 104 of file gameeventsystem.h.

virtual ASCString EventAction::getName ( ) const
pure virtual
virtual void EventAction::readData ( tnstream stream)
pure virtual
virtual void EventAction::setLocalizationString ( const ASCString s)
inlinevirtual

Reimplemented in DisplayImmediateMessage.

Definition at line 105 of file gameeventsystem.h.

void EventAction::setMap ( GameMap gamemap_)
inline

Definition at line 109 of file gameeventsystem.h.

References gamemap.

Referenced by readOldEvent(), and Event::spawnAction().

virtual void EventAction::setup ( )
pure virtual
virtual void EventAction::writeData ( tnstream stream)
pure virtual

Member Data Documentation

GameMap* EventAction::gamemap
protected

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