orxonox::ArtificialController Class Reference

#include <src/orxonox/objects/controllers/ArtificialController.h>

Inheritance diagram for orxonox::ArtificialController:

orxonox::Controller orxonox::PawnListener orxonox::BaseObject orxonox::OrxonoxClass orxonox::OrxonoxClass orxonox::AIController orxonox::ScriptController orxonox::WaypointController orxonox::WaypointPatrolController

List of all members.

Public Member Functions

 ArtificialController (BaseObject *creator)
virtual void destroyedPawn (Pawn *pawn)
virtual ~ArtificialController ()

Protected Member Functions

void aimAtTarget ()
void forgetTarget ()
bool isCloseAtTarget (float distance) const
bool isLookingAtTarget (float angle) const
void moveToPosition (const Vector3 &target)
void moveToTargetPosition ()
void searchNewTarget ()
void searchRandomTargetPosition ()
void setTarget (Pawn *target)
void setTargetPosition (const Vector3 &target)

Static Protected Member Functions

static bool sameTeam (ControllableEntity *entity1, ControllableEntity *entity2, Gametype *gametype)

Protected Attributes

bool bHasTargetPosition_
bool bShooting_
Pawntarget_
Vector3 targetPosition_


Constructor & Destructor Documentation

orxonox::ArtificialController::ArtificialController ( BaseObject creator  ) 

orxonox::ArtificialController::~ArtificialController (  )  [virtual]


Member Function Documentation

void orxonox::ArtificialController::aimAtTarget (  )  [protected]

void orxonox::ArtificialController::destroyedPawn ( Pawn pawn  )  [virtual]

void orxonox::ArtificialController::forgetTarget (  )  [protected]

bool orxonox::ArtificialController::isCloseAtTarget ( float  distance  )  const [protected]

bool orxonox::ArtificialController::isLookingAtTarget ( float  angle  )  const [protected]

void orxonox::ArtificialController::moveToPosition ( const Vector3 &  target  )  [protected]

void orxonox::ArtificialController::moveToTargetPosition (  )  [protected]

bool orxonox::ArtificialController::sameTeam ( ControllableEntity entity1,
ControllableEntity entity2,
Gametype gametype 
) [static, protected]

void orxonox::ArtificialController::searchNewTarget (  )  [protected]

void orxonox::ArtificialController::searchRandomTargetPosition (  )  [protected]

void orxonox::ArtificialController::setTarget ( Pawn target  )  [protected]

void orxonox::ArtificialController::setTargetPosition ( const Vector3 &  target  )  [protected]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Tue Jul 28 16:22:20 2009 for Orxonox by  doxygen 1.5.6