orxonox::Pong Class Reference

#include <src/orxonox/objects/gametypes/Pong.h>

Inheritance diagram for orxonox::Pong:

orxonox::Deathmatch orxonox::Gametype orxonox::BaseObject orxonox::Tickable orxonox::OrxonoxClass orxonox::OrxonoxClass

List of all members.

Public Member Functions

virtual void end ()
PlayerInfogetLeftPlayer () const
PlayerInfogetRightPlayer () const
virtual void playerScored (PlayerInfo *player)
 Pong (BaseObject *creator)
void setCenterpoint (PongCenterpoint *center)
virtual void spawnPlayer (PlayerInfo *player)
virtual void start ()
virtual ~Pong ()

Protected Member Functions

void startBall ()

Protected Attributes

PongBallball_
PongBatbat_ [2]
PongCenterpointcenter_
Timer< Pongstarttimer_


Constructor & Destructor Documentation

orxonox::Pong::Pong ( BaseObject creator  ) 

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


Member Function Documentation

void orxonox::Pong::end (  )  [virtual]

Reimplemented from orxonox::Deathmatch.

References ball_, and orxonox::Deathmatch::end().

PlayerInfo * orxonox::Pong::getLeftPlayer (  )  const

PlayerInfo * orxonox::Pong::getRightPlayer (  )  const

void orxonox::Pong::playerScored ( PlayerInfo player  )  [virtual]

void orxonox::Pong::setCenterpoint ( PongCenterpoint center  )  [inline]

void orxonox::Pong::spawnPlayer ( PlayerInfo player  )  [virtual]

void orxonox::Pong::start (  )  [virtual]

void orxonox::Pong::startBall (  )  [protected]


Member Data Documentation

PongBat* orxonox::Pong::bat_[2] [protected]

Referenced by playerScored(), Pong(), start(), and startBall().

Referenced by playerScored(), Pong(), and start().


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

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