orxonox::Spectator Class Reference

#include <src/orxonox/objects/worldentities/pawns/Spectator.h>

Inheritance diagram for orxonox::Spectator:

orxonox::ControllableEntity orxonox::MobileEntity orxonox::WorldEntity orxonox::Tickable orxonox::BaseObject orxonox::Synchronisable orxonox::OrxonoxClass orxonox::OrxonoxClass orxonox::OrxonoxClass

List of all members.

Public Member Functions

virtual void fire (unsigned int firemode)
virtual void greet ()
virtual void moveFrontBack (const Vector2 &value)
virtual void moveRightLeft (const Vector2 &value)
virtual void moveUpDown (const Vector2 &value)
void registerVariables ()
virtual void rotatePitch (const Vector2 &value)
virtual void rotateRoll (const Vector2 &value)
virtual void rotateYaw (const Vector2 &value)
void setConfigValues ()
 Function to collect the SetConfigValue-macro calls.
 Spectator (BaseObject *creator)
virtual void tick (float dt)
 Gets called every frame.
virtual ~Spectator ()

Protected Member Functions

virtual void setPlayer (PlayerInfo *player)
virtual void startLocalHumanControl ()

Private Member Functions

void changedFlareVisibility ()
void changedGreeting ()

Private Attributes

bool bGreeting_
bool bGreetingFlareVisible_
BillboardSetgreetingFlare_
Vector3 localVelocity_
float pitch_
float roll_
float speed_
float yaw_


Constructor & Destructor Documentation

orxonox::Spectator::Spectator ( BaseObject creator  ) 

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


Member Function Documentation

void orxonox::Spectator::changedFlareVisibility (  )  [private]

void orxonox::Spectator::changedGreeting (  )  [private]

void orxonox::Spectator::fire ( unsigned int  firemode  )  [virtual]

void orxonox::Spectator::greet (  )  [virtual]

void orxonox::Spectator::moveFrontBack ( const Vector2 &  value  )  [virtual]

Reimplemented from orxonox::ControllableEntity.

References localVelocity_.

void orxonox::Spectator::moveRightLeft ( const Vector2 &  value  )  [virtual]

Reimplemented from orxonox::ControllableEntity.

References localVelocity_.

void orxonox::Spectator::moveUpDown ( const Vector2 &  value  )  [virtual]

Reimplemented from orxonox::ControllableEntity.

References localVelocity_.

void orxonox::Spectator::registerVariables (  ) 

void orxonox::Spectator::rotatePitch ( const Vector2 &  value  )  [virtual]

void orxonox::Spectator::rotateRoll ( const Vector2 &  value  )  [virtual]

void orxonox::Spectator::rotateYaw ( const Vector2 &  value  )  [virtual]

void orxonox::Spectator::setConfigValues (  ) 

Function to collect the SetConfigValue-macro calls.

Reimplemented from orxonox::ControllableEntity.

References SetConfigValue, and speed_.

Referenced by Spectator().

void orxonox::Spectator::setPlayer ( PlayerInfo player  )  [protected, virtual]

void orxonox::Spectator::startLocalHumanControl (  )  [protected, virtual]

void orxonox::Spectator::tick ( float  dt  )  [virtual]


Member Data Documentation

float orxonox::Spectator::pitch_ [private]

Referenced by rotatePitch(), Spectator(), and tick().

float orxonox::Spectator::roll_ [private]

Referenced by rotateRoll(), Spectator(), and tick().

float orxonox::Spectator::speed_ [private]

Referenced by setConfigValues(), Spectator(), and tick().

float orxonox::Spectator::yaw_ [private]

Referenced by rotateYaw(), Spectator(), and tick().


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

Generated on Tue Jul 28 16:23:05 2009 for Orxonox by  doxygen 1.5.6