orxonox::PongCenterpoint Class Reference

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

Inheritance diagram for orxonox::PongCenterpoint:

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

List of all members.

Public Member Functions

virtual void changedGametype ()
float getBallSpeed () const
const std::stringgetBalltemplate () const
float getBatLength () const
float getBatSpeed () const
const std::stringgetBattemplate () const
Vector2 getFieldDimension () const
 PongCenterpoint (BaseObject *creator)
void setBallSpeed (float ballspeed)
void setBalltemplate (const std::string &balltemplate)
void setBatLength (float batlength)
void setBatSpeed (float batspeed)
void setBattemplate (const std::string &battemplate)
void setFieldDimension (const Vector2 &dimension)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 XML loading and saving.
virtual ~PongCenterpoint ()

Private Member Functions

void checkGametype ()

Private Attributes

float ballspeed_
std::string balltemplate_
float batlength_
float batspeed_
std::string battemplate_
float height_
float width_


Constructor & Destructor Documentation

orxonox::PongCenterpoint::PongCenterpoint ( BaseObject creator  ) 

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


Member Function Documentation

void orxonox::PongCenterpoint::changedGametype (  )  [virtual]

Reimplemented from orxonox::BaseObject.

References checkGametype(), and SUPER.

void orxonox::PongCenterpoint::checkGametype (  )  [private]

float orxonox::PongCenterpoint::getBallSpeed (  )  const [inline]

const std::string& orxonox::PongCenterpoint::getBalltemplate (  )  const [inline]

Referenced by orxonox::Pong::start(), and XMLPort().

float orxonox::PongCenterpoint::getBatLength (  )  const [inline]

Referenced by orxonox::Pong::start(), and XMLPort().

float orxonox::PongCenterpoint::getBatSpeed (  )  const [inline]

Referenced by orxonox::Pong::start(), and XMLPort().

const std::string& orxonox::PongCenterpoint::getBattemplate (  )  const [inline]

Referenced by orxonox::Pong::start(), and XMLPort().

Vector2 orxonox::PongCenterpoint::getFieldDimension (  )  const [inline]

void orxonox::PongCenterpoint::setBallSpeed ( float  ballspeed  )  [inline]

Referenced by XMLPort().

void orxonox::PongCenterpoint::setBalltemplate ( const std::string balltemplate  )  [inline]

Referenced by XMLPort().

void orxonox::PongCenterpoint::setBatLength ( float  batlength  )  [inline]

Referenced by XMLPort().

void orxonox::PongCenterpoint::setBatSpeed ( float  batspeed  )  [inline]

Referenced by XMLPort().

void orxonox::PongCenterpoint::setBattemplate ( const std::string battemplate  )  [inline]

Referenced by XMLPort().

void orxonox::PongCenterpoint::setFieldDimension ( const Vector2 &  dimension  )  [inline]

Referenced by XMLPort().

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

XML loading and saving.

Parameters:
xmlelement The XML-element
loading Loading (true) or saving (false)
Returns:
The XML-element

Reimplemented from orxonox::WorldEntity.

References getBallSpeed(), getBalltemplate(), getBatLength(), getBatSpeed(), getBattemplate(), getFieldDimension(), setBallSpeed(), setBalltemplate(), setBatLength(), setBatSpeed(), setBattemplate(), setFieldDimension(), SUPER, and XMLPortParam.


Member Data Documentation

Referenced by PongCenterpoint().

Referenced by PongCenterpoint().

Referenced by PongCenterpoint().

Referenced by PongCenterpoint().

Referenced by PongCenterpoint().


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