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

SelfDestruct Class Reference

#include <selfdestruct.h>

List of all members.

Public Member Functions

bool available (const ContainerBase *subject)
bool destruct (ContainerBase *subject)


Member Function Documentation

bool SelfDestruct::available const ContainerBase subject  ) 
 

Definition at line 31 of file selfdestruct.cpp.

References ContainerBase::baseType, Player::diplomacy, ContainerBase::getMap(), ContainerBaseType::hasFunction(), DiplomaticStateVector::isAllied(), and ContainerBaseType::ManualSelfDestruct.

Referenced by GuiFunctions::SelfDestructIcon::available(), destruct(), and trunreplay::execnextreplaymove().

bool SelfDestruct::destruct ContainerBase subject  ) 
 

Definition at line 44 of file selfdestruct.cpp.

References available(), SoundList::buildingCollapses, evaluateviewcalculation(), SoundList::getInstance(), Vehicletype::killSoundLabel, logtoreplayinfo(), rpl_selfdestruct, Vehicle::typ, and SoundList::unitExplodes.

Referenced by trunreplay::execnextreplaymove(), and GuiFunctions::SelfDestructIcon::execute().


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