TankSay Class Reference

#include <TankSay.h>

Inheritance diagram for TankSay:

ActionReferenced Action

List of all members.

Public Member Functions

 TankSay (unsigned int playerId, const LangString &text)
virtual ~TankSay ()
virtual void init ()
virtual void simulate (fixed frameTime, bool &remove)

Protected Attributes

unsigned int playerId_
LangString text_


Detailed Description

Definition at line 26 of file TankSay.h.


Constructor & Destructor Documentation

TankSay::TankSay ( unsigned int  playerId,
const LangString text 
)

Definition at line 34 of file TankSay.cpp.

TankSay::~TankSay (  )  [virtual]

Definition at line 41 of file TankSay.cpp.


Member Function Documentation

void TankSay::init (  )  [virtual]

Implements Action.

Definition at line 45 of file TankSay.cpp.

References ActionController::addAction(), FixedVector::asVector(), Action::context_, ScorchedContext::getActionController(), Tank::getPosition(), ScorchedContext::getServerMode(), TankContainer::getTankById(), ScorchedContext::getTankContainer(), TankPosition::getTankTurretPosition(), playerId_, ChannelText::setSrcPlayerId(), ChannelManager::showText(), and text_.

void TankSay::simulate ( fixed  frameTime,
bool &  remove 
) [virtual]

Reimplemented from Action.

Definition at line 69 of file TankSay.cpp.

References Action::simulate().


Member Data Documentation

unsigned int TankSay::playerId_ [protected]

Definition at line 36 of file TankSay.h.

Referenced by init().

LangString TankSay::text_ [protected]

Definition at line 37 of file TankSay.h.

Referenced by init().


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