#include <TankAIRandom.h>

Public Member Functions | |
| TankAIRandom () | |
| virtual | ~TankAIRandom () |
| virtual TankAI * | createCopy (Tank *tank) |
| virtual bool | parseConfig (XMLNode *node) |
| void | addTankAI (TankAI *ai) |
| virtual void | newMatch () |
| virtual void | newGame () |
| virtual void | playMove () |
| virtual void | buyAccessories () |
| virtual void | autoDefense () |
| virtual void | tankHurt (Weapon *weapon, float damage, unsigned int damaged, unsigned int firer) |
| virtual void | shotLanded (ScorchedCollisionId collision, Weapon *weapon, unsigned int firer, Vector &position) |
Protected Attributes | |
| std::vector< TankAI * > | ais_ |
Definition at line 27 of file TankAIRandom.h.
| TankAIRandom::TankAIRandom | ( | ) |
| TankAIRandom::~TankAIRandom | ( | ) | [virtual] |
Definition at line 31 of file TankAIRandom.cpp.
Implements TankAI.
Definition at line 35 of file TankAIRandom.cpp.
References ais_, and TankAI::createCopy().
| virtual bool TankAIRandom::parseConfig | ( | XMLNode * | node | ) | [inline, virtual] |
| void TankAIRandom::addTankAI | ( | TankAI * | ai | ) |
Definition at line 41 of file TankAIRandom.cpp.
References ais_.
Referenced by TankAIStore::loadAIs().
| virtual void TankAIRandom::newMatch | ( | ) | [inline, virtual] |
| virtual void TankAIRandom::newGame | ( | ) | [inline, virtual] |
| virtual void TankAIRandom::playMove | ( | ) | [inline, virtual] |
| virtual void TankAIRandom::buyAccessories | ( | ) | [inline, virtual] |
| virtual void TankAIRandom::autoDefense | ( | ) | [inline, virtual] |
| virtual void TankAIRandom::tankHurt | ( | Weapon * | weapon, | |
| float | damage, | |||
| unsigned int | damaged, | |||
| unsigned int | firer | |||
| ) | [inline, virtual] |
| virtual void TankAIRandom::shotLanded | ( | ScorchedCollisionId | collision, | |
| Weapon * | weapon, | |||
| unsigned int | firer, | |||
| Vector & | position | |||
| ) | [inline, virtual] |
std::vector<TankAI *> TankAIRandom::ais_ [protected] |
1.5.3