Ball< T > Class Template Reference
[Rules]

Base class describing the ball. More...

#include <Ball.hh>

List of all members.

Public Member Functions

const CoordinatesgetCoordinates () const
 Get the ball coordinates.
virtual void setCoordinates (const Coordinates &pt)
 Set the ball coordinates.
T * getOwner () const
 Returns the ball's owner, NULL if nobody.
virtual void setOwner (T *player)
 Sets the ball owner.

Protected Member Functions

virtual void printDebug (std::ostream &os) const

Protected Attributes

Coordinates coord_
 The ball coordinates on the field.
T * owner_
 Ball's owner, or NULL if nobody.

Friends

template<typename U >
std::ostream & operator<< (std::ostream &os, const Ball< U > &b)

Detailed Description

template<typename T>
class Ball< T >

Base class describing the ball.


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 21:17:26 2010 for Stechec/TBT by  doxygen 1.6.3