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

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


Detailed Description

Definition at line 93 of file gameeventsystem.h.

Constructor & Destructor Documentation

EventAction::EventAction ( EventActionID  id)

Definition at line 97 of file gameeventsystem.h.

virtual EventAction::~EventAction ( )

Definition at line 111 of file gameeventsystem.h.

Member Function Documentation

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

Definition at line 110 of file gameeventsystem.h.

Referenced by Event::write().

virtual ASCString EventAction::getLocalizationString ( ) const

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)

Reimplemented in DisplayImmediateMessage.

Definition at line 105 of file gameeventsystem.h.

void EventAction::setMap ( GameMap gamemap_)

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

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