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

#include <gameevents.h>

Inheritance diagram for WindChange:
Inheritance graph
[legend]

Public Member Functions

 WindChange ()
 
 WindChange (int Speed, int Direction)
 
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 434 of file gameevents.h.

Constructor & Destructor Documentation

WindChange::WindChange ( )
inline

Definition at line 438 of file gameevents.h.

WindChange::WindChange ( int  Speed,
int  Direction 
)
inline

Definition at line 442 of file gameevents.h.

Member Function Documentation

void WindChange::execute ( MapDisplayInterface md)
virtual
ASCString WindChange::getName ( ) const
inlinevirtual

Implements EventAction.

Definition at line 452 of file gameevents.h.

void WindChange::readData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 886 of file gameevents.cpp.

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

void WindChange::setup ( void  )
virtual

Implements EventAction.

Definition at line 900 of file gameevents.cpp.

References editInt().

void WindChange::writeData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 893 of file gameevents.cpp.

References tnstream::writeInt().


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