#include <TankSay.h>

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_ |
Definition at line 26 of file TankSay.h.
| 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.
| 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().
unsigned int TankSay::playerId_ [protected] |
LangString TankSay::text_ [protected] |
1.5.3