#include <Object2d.h>

Public Member Functions | |
| Object2d () | |
| Standard Constructor. | |
| Object2d (const Object2d &src) | |
| Copy Constructor. | |
| Object2d (const Vector &position, const Angle &pitch) | |
| Constructor for Initialization by value. | |
| ~Object2d () | |
| Destructor. | |
| virtual void | renderGl ()=0 |
| The rendering function to be used with OpenGL. | |
| virtual void | selectGl ()=0 |
| The selection mode rendering function for OpenGL. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
| Object2d::Object2d | ( | ) |
Standard Constructor.
The Standard Constructor Sets the position to (0, 0, 0) and the angles to 0
| Object2d::Object2d | ( | const Object2d & | src | ) |
Constructor for Initialization by value.
Constructor for initialization by value The Position is taken as a Vertex (not as a vector)
| position | The position of the object | |
| pitch | The angle pitch of the object |
| Object2d::~Object2d | ( | ) |
Destructor.
The Destructor
| virtual void Object2d::renderGl | ( | ) | [pure virtual] |
The rendering function to be used with OpenGL.
Implemented in Button, Console, FpsCounter, HudFood, HudInventory, HudMenu, HudScore, HudWater, Label, MouseCursor, SplashMessage, StartUpTimer, TextBlock, and Webcam.
| virtual void Object2d::selectGl | ( | ) | [pure virtual] |
The selection mode rendering function for OpenGL.
Implemented in Button, Console, HudFood, HudInventory, HudMenu, HudScore, HudWater, Label, MouseCursor, SplashMessage, TextBlock, and Webcam.
| string Object2d::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from ViewObject.
Reimplemented in Button, Console, FpsCounter, HudFood, HudInventory, HudMenu, HudScore, HudWater, IdPicker, Label, MouseCursor, SplashMessage, StartUpTimer, TextBlock, and Webcam.
| string Object2d::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from ViewObject.
Reimplemented in Button, Console, FpsCounter, HudFood, HudInventory, HudMenu, HudScore, HudWater, IdPicker, Label, MouseCursor, SplashMessage, StartUpTimer, TextBlock, and Webcam.
| enum classId Object2d::classId | ( | ) | const [virtual] |
Returns the class id of the object.
Reimplemented from ViewObject.
Reimplemented in Button, Console, FpsCounter, HudFood, HudInventory, HudMenu, HudScore, HudWater, IdPicker, Label, MouseCursor, SplashMessage, StartUpTimer, TextBlock, and Webcam.
1.5.6