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

#include <gameevents.h>

Inheritance diagram for DisplayMessage:
Inheritance graph
[legend]

Public Member Functions

 DisplayMessage ()
 
 DisplayMessage (int messageNumber)
 
void readData (tnstream &stream)
 
void writeData (tnstream &stream)
 
void execute (MapDisplayInterface *md)
 
void setup ()
 
ASCString getName () const
 
- Public Member Functions inherited from EventAction
virtual ASCString getLocalizationString () const
 
virtual void setLocalizationString (const ASCString &s)
 
void setMap (GameMap *gamemap_)
 
EventActionID getActionID ()
 
virtual ~EventAction ()
 

Additional Inherited Members

- Protected Member Functions inherited from EventAction
 EventAction (EventActionID id)
 
- Protected Attributes inherited from EventAction
GameMapgamemap
 

Detailed Description

Definition at line 480 of file gameevents.h.

Constructor & Destructor Documentation

DisplayMessage::DisplayMessage ( )
inline

Definition at line 486 of file gameevents.h.

DisplayMessage::DisplayMessage ( int  messageNumber)
inline

Definition at line 488 of file gameevents.h.

Member Function Documentation

void DisplayMessage::execute ( MapDisplayInterface md)
virtual

Implements EventAction.

Definition at line 975 of file gameevents.cpp.

References GameMap::actplayer, EventAction::gamemap, GameMap::Replay, and GameMap::state.

ASCString DisplayMessage::getName ( ) const
inlinevirtual

Implements EventAction.

Definition at line 497 of file gameevents.h.

void DisplayMessage::readData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 983 of file gameevents.cpp.

References tnstream::readInt(), and versionTest().

void DisplayMessage::setup ( void  )
virtual

Implements EventAction.

Definition at line 995 of file gameevents.cpp.

References editInt().

void DisplayMessage::writeData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 989 of file gameevents.cpp.

References tnstream::writeInt().


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