orxonox::PongBat Class Reference

#include <src/orxonox/objects/worldentities/PongBat.h>

Inheritance diagram for orxonox::PongBat:

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 changedPlayer ()
float getFieldHeight () const
float getLength () const
float getSpeed () const
virtual void moveFrontBack (const Vector2 &value)
virtual void moveRightLeft (const Vector2 &value)
 PongBat (BaseObject *creator)
void registerVariables ()
void setFieldHeight (float height)
void setLength (float length)
void setSpeed (float speed)
virtual void tick (float dt)
 Gets called every frame.
virtual ~PongBat ()

Private Attributes

bool bMoveLocal_
bool bSteadiedPosition_
float fieldHeight_
float length_
float movement_
float speed_


Constructor & Destructor Documentation

orxonox::PongBat::PongBat ( BaseObject creator  ) 

virtual orxonox::PongBat::~PongBat (  )  [inline, virtual]


Member Function Documentation

void orxonox::PongBat::changedPlayer (  )  [virtual]

float orxonox::PongBat::getFieldHeight (  )  const [inline]

float orxonox::PongBat::getLength (  )  const [inline]

float orxonox::PongBat::getSpeed (  )  const [inline]

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

Reimplemented from orxonox::ControllableEntity.

References bMoveLocal_, and movement_.

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

Reimplemented from orxonox::ControllableEntity.

References bMoveLocal_, and movement_.

void orxonox::PongBat::registerVariables (  ) 

void orxonox::PongBat::setFieldHeight ( float  height  )  [inline]

Referenced by orxonox::Pong::start().

void orxonox::PongBat::setLength ( float  length  )  [inline]

Referenced by orxonox::Pong::start().

void orxonox::PongBat::setSpeed ( float  speed  )  [inline]

Referenced by orxonox::Pong::start().

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


Member Data Documentation

Referenced by PongBat(), and tick().

Referenced by PongBat(), registerVariables(), and tick().

float orxonox::PongBat::length_ [private]

Referenced by PongBat(), registerVariables(), and tick().

float orxonox::PongBat::movement_ [private]

float orxonox::PongBat::speed_ [private]

Referenced by PongBat(), registerVariables(), and tick().


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

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