orxonox::ForceField Class Reference

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

Inheritance diagram for orxonox::ForceField:

orxonox::StaticEntity orxonox::Tickable orxonox::WorldEntity orxonox::OrxonoxClass orxonox::BaseObject orxonox::Synchronisable orxonox::OrxonoxClass orxonox::OrxonoxClass

List of all members.

Public Member Functions

 ForceField (BaseObject *creator)
float getDiameter ()
float getLength ()
float getVelocity ()
void setDiameter (float diam)
void setLength (float l)
void setVelocity (float vel)
virtual void tick (float dt)
 Gets called every frame.
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 Method for creating a CheckPoint object through XML.
virtual ~ForceField ()

Private Attributes

float diameter_
float length_
float velocity_


Constructor & Destructor Documentation

orxonox::ForceField::ForceField ( BaseObject creator  ) 

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


Member Function Documentation

float orxonox::ForceField::getDiameter (  )  [inline]

Referenced by XMLPort().

float orxonox::ForceField::getLength (  )  [inline]

Referenced by XMLPort().

float orxonox::ForceField::getVelocity (  )  [inline]

Referenced by XMLPort().

void orxonox::ForceField::setDiameter ( float  diam  )  [inline]

Referenced by XMLPort().

void orxonox::ForceField::setLength ( float  l  )  [inline]

Referenced by XMLPort().

void orxonox::ForceField::setVelocity ( float  vel  )  [inline]

Referenced by XMLPort().

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

Gets called every frame.

Parameters:
dt The time since the last frame in seconds

Implements orxonox::Tickable.

References diameter_, orxonox::WorldEntity::FRONT, orxonox::WorldEntity::getOrientation(), orxonox::WorldEntity::getWorldPosition(), length_, orxonox::MT_Type::Vector3, and velocity_.

void orxonox::ForceField::XMLPort ( Element &  xmlelement,
XMLPort::Mode  mode 
) [virtual]

Method for creating a CheckPoint object through XML.

Reimplemented from orxonox::WorldEntity.

References getDiameter(), getLength(), getVelocity(), setDiameter(), setLength(), setVelocity(), SUPER, and XMLPortParam.


Member Data Documentation

Referenced by ForceField(), and tick().

Referenced by ForceField(), and tick().

Referenced by ForceField(), and tick().


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

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