Base class describing the ball. More...
#include <Ball.hh>
Public Member Functions | |
| const Coordinates & | getCoordinates () 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) |
Base class describing the ball.
1.6.3