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

#include <gameevents.h>

Inheritance diagram for AddResources:
Inheritance graph
[legend]

Public Member Functions

 AddResources ()
 
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 754 of file gameevents.h.

Constructor & Destructor Documentation

AddResources::AddResources ( )
inline

Definition at line 758 of file gameevents.h.

Member Function Documentation

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

Implements EventAction.

Definition at line 766 of file gameevents.h.

void AddResources::readData ( tnstream stream)
virtual

Implements EventAction.

Definition at line 1743 of file gameevents.cpp.

References Resources::read(), MapCoordinate::read(), and versionTest().

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

Implements EventAction.

Definition at line 1751 of file gameevents.cpp.

References Resources::write(), MapCoordinate::write(), and tnstream::writeInt().


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