#include <command.h>
Definition at line 112 of file command.h.
FastEcslent::Tactic::Tactic | ( | Group * | grp, | |
CommandType | ct, | |||
GroupTarget * | trgt | |||
) | [inline] |
FastEcslent::Tactic::Tactic | ( | Group * | grp, | |
CommandType | ct, | |||
GroupTarget * | trgt | |||
) | [inline] |
FastEcslent::Tactic::Tactic | ( | Group * | grp, | |
CommandType | ct, | |||
GroupTarget * | trgt | |||
) | [inline] |
FastEcslent::Tactic::Tactic | ( | Group * | grp, | |
CommandType | ct, | |||
GroupTarget * | trgt | |||
) | [inline] |
FastEcslent::Tactic::Tactic | ( | Group * | grp, | |
CommandType | ct, | |||
GroupTarget * | trgt | |||
) | [inline] |
int FastEcslent::Tactic::mostMassive | ( | bool | massest | ) |
Reimplemented in FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, and FastEcslent::Flock.
Definition at line 275 of file command.cpp.
References group, FastEcslent::Entity::mass, FastEcslent::Group::members, and FastEcslent::Group::nEntitiesInGroup.
Referenced by changeLeadership().
int FastEcslent::Tactic::closestToTarget | ( | bool | closest, | |
Ogre::Vector3 | tpos | |||
) |
Definition at line 301 of file command.cpp.
References group, FastEcslent::Group::members, FastEcslent::Group::nEntitiesInGroup, and FastEcslent::Entity::pos.
Referenced by changeLeadership().
void FastEcslent::Tactic::changeLeadership | ( | LeadershipType | selector | ) |
Definition at line 240 of file command.cpp.
References closestToTarget(), FastEcslent::Target::entity, group, FastEcslent::InvalidLocation(), FastEcslent::Group::leaderIndex, FastEcslent::Target::location, mostMassive(), FastEcslent::Entity::pos, randInt(), FastEcslent::GroupTarget::target, and target.
int FastEcslent::Tactic::mostMassive | ( | bool | ) |
Reimplemented in FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, and FastEcslent::Flock.
int FastEcslent::Tactic::closestToTarget | ( | bool | , | |
Ogre::Vector3 | tpos | |||
) |
void FastEcslent::Tactic::changeLeadership | ( | LeadershipType | selector | ) |
int FastEcslent::Tactic::mostMassive | ( | bool | ) |
Reimplemented in FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, and FastEcslent::Flock.
int FastEcslent::Tactic::closestToTarget | ( | bool | , | |
Ogre::Vector3 | tpos | |||
) |
void FastEcslent::Tactic::changeLeadership | ( | LeadershipType | selector | ) |
int FastEcslent::Tactic::mostMassive | ( | bool | ) |
Reimplemented in FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, and FastEcslent::Flock.
int FastEcslent::Tactic::closestToTarget | ( | bool | , | |
Ogre::Vector3 | tpos | |||
) |
void FastEcslent::Tactic::changeLeadership | ( | LeadershipType | selector | ) |
int FastEcslent::Tactic::mostMassive | ( | bool | ) |
Reimplemented in FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, FastEcslent::Flock, and FastEcslent::Flock.
int FastEcslent::Tactic::closestToTarget | ( | bool | , | |
Ogre::Vector3 | tpos | |||
) |
void FastEcslent::Tactic::changeLeadership | ( | LeadershipType | selector | ) |
Definition at line 115 of file command.h.
Referenced by changeLeadership(), closestToTarget(), FastEcslent::Flock::init(), mostMassive(), Tactic(), and FastEcslent::Flock::tick().