Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GuiFunctions::SelfDestructIcon Class Reference

Inheritance diagram for GuiFunctions::SelfDestructIcon:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool available (const MapCoordinate &pos, ContainerBase *subject, int num)
void execute (const MapCoordinate &pos, ContainerBase *subject, int num)
SurfacegetImage (const MapCoordinate &pos, ContainerBase *subject, int num)
bool checkForKey (const SDL_KeyboardEvent *key, int modifier, int num)
ASCString getName (const MapCoordinate &pos, ContainerBase *subject, int num)

Member Function Documentation

bool GuiFunctions::SelfDestructIcon::available const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 2706 of file guifunctions.cpp.

References actmap, SelfDestruct::available(), fieldvisiblenow(), tfield::getContainer(), and GameMap::getField().

bool GuiFunctions::SelfDestructIcon::checkForKey const SDL_KeyboardEvent *  key,
int  modifier,
int  num
[inline, virtual]
 

Reimplemented from GuiFunction.

Definition at line 2733 of file guifunctions.cpp.

void GuiFunctions::SelfDestructIcon::execute const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 2717 of file guifunctions.cpp.

References actmap, choice_dlg(), SelfDestruct::destruct(), tfield::getContainer(), GameMap::getField(), repaintMap, and updateFieldInfo.

Surface& GuiFunctions::SelfDestructIcon::getImage const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 2728 of file guifunctions.cpp.

References IconRepository::getIcon().

ASCString GuiFunctions::SelfDestructIcon::getName const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 2738 of file guifunctions.cpp.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:22:58 2008 for Advanced Strategic Command by  doxygen 1.4.2