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

#include <gameevents.h>

Inheritance diagram for ChangeGameParameter:
Inheritance graph
[legend]

Public Member Functions

 ChangeGameParameter ()
 
 ChangeGameParameter (int ParameterNum, int ParameterValue)
 
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 456 of file gameevents.h.

Constructor & Destructor Documentation

ChangeGameParameter::ChangeGameParameter ( )
inline

Definition at line 462 of file gameevents.h.

ChangeGameParameter::ChangeGameParameter ( int  ParameterNum,
int  ParameterValue 
)
inline

Definition at line 466 of file gameevents.h.

Member Function Documentation

void ChangeGameParameter::execute ( MapDisplayInterface md)
virtual

Implements EventAction.

Definition at line 908 of file gameevents.cpp.

References EventAction::gamemap, gameParameterSettings, and GameMap::setgameparameter().

ASCString ChangeGameParameter::getName ( ) const
inlinevirtual

Implements EventAction.

Definition at line 476 of file gameevents.h.

void ChangeGameParameter::readData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 915 of file gameevents.cpp.

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

void ChangeGameParameter::setup ( void  )
virtual
void ChangeGameParameter::writeData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 922 of file gameevents.cpp.

References tnstream::writeInt().


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