LandscapeActionFireWeapon Class Reference

#include <LandscapeEvents.h>

Inheritance diagram for LandscapeActionFireWeapon:

LandscapeAction

List of all members.

Public Member Functions

virtual void fireAction (ScorchedContext &context)
virtual bool readXML (XMLNode *node)

Public Attributes

std::string weapon


Detailed Description

Definition at line 89 of file LandscapeEvents.h.


Member Function Documentation

void LandscapeActionFireWeapon::fireAction ( ScorchedContext context  )  [virtual]

Implements LandscapeAction.

Definition at line 161 of file LandscapeEvents.cpp.

References AccessoryPart::AccessoryWeapon, S3D::dialogExit(), Weapon::eDataDeathAnimation, AccessoryStore::findByPrimaryAccessoryName(), Weapon::fireWeapon(), S3D::formatStringBuffer(), ScorchedContext::getAccessoryStore(), Accessory::getAction(), Accessory::getType(), and weapon.

bool LandscapeActionFireWeapon::readXML ( XMLNode node  )  [virtual]

Implements LandscapeAction.

Definition at line 178 of file LandscapeEvents.cpp.

References XMLNode::failChildren(), XMLNode::getNamedChild(), and weapon.


Member Data Documentation

std::string LandscapeActionFireWeapon::weapon

Definition at line 92 of file LandscapeEvents.h.

Referenced by fireAction(), and readXML().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:03 2009 for Scorched3D by  doxygen 1.5.3