Advanced Strategic Command
Public Member Functions | List of all members
ChangePlayerState Class Reference
Inheritance diagram for ChangePlayerState:
Inheritance graph
[legend]

Public Member Functions

 ChangePlayerState ()
 
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 1636 of file gameevents.cpp.

Constructor & Destructor Documentation

ChangePlayerState::ChangePlayerState ( )
inline

Definition at line 1640 of file gameevents.cpp.

Member Function Documentation

void ChangePlayerState::execute ( MapDisplayInterface md)
inlinevirtual

Implements EventAction.

Definition at line 1657 of file gameevents.cpp.

References EventAction::gamemap, GameMap::getPlayer(), and Player::stat.

ASCString ChangePlayerState::getName ( ) const
inlinevirtual

Implements EventAction.

Definition at line 1686 of file gameevents.cpp.

void ChangePlayerState::readData ( tnstream stream)
inlinevirtual

Implements EventAction.

Definition at line 1642 of file gameevents.cpp.

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

void ChangePlayerState::setup ( void  )
inlinevirtual

Implements EventAction.

Definition at line 1662 of file gameevents.cpp.

References chooseString(), editInt(), Player::supervisor, and warning().

void ChangePlayerState::writeData ( tnstream stream)
inlinevirtual

Implements EventAction.

Definition at line 1650 of file gameevents.cpp.

References tnstream::writeInt().


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