#include <MVPlace.h>

Public Member Functions | |
| MVPlace () | |
| standard constructor | |
| MVPlace (const MVPlace &source) | |
| copy constructor | |
| ~MVPlace () | |
| destructor | |
| void | addOnPlaceObject (MVOnPlaceObject *object) |
| Add an object onto this place. | |
| void | removeOnPlaceObject (MVPlaceObject *object) |
| Remove an object from this place. | |
| std::vector< MVOnPlaceObject * > * | getOnPlaceObjects () |
| Returns a pointer to the list of on Place Objects of this place. | |
| void | renderGl () |
| Do the drawing stuff. | |
| void | selectGl () |
| Do the selecting stuff. | |
| 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. | |
Private Attributes | |
| std::vector< MVOnPlaceObject * > | onPlaceObjects |
| Vector of OnPlaceObject's on this place. | |
| Mesh | placeMesh |
| The mesh of the tile, that represents this place. | |
Model of a place on the Firefly board. It has a position and can contain several OnPlaceObject's.
| MVPlace::MVPlace | ( | ) |
standard constructor
| MVPlace::MVPlace | ( | const MVPlace & | source | ) |
copy constructor
| MVPlace::~MVPlace | ( | ) |
destructor
| void MVPlace::addOnPlaceObject | ( | MVOnPlaceObject * | object | ) |
Add an object onto this place.
Add an object onto this place.
| object | Pointer to the object, instance of MVOnPlaceObject, which should be added. |
| void MVPlace::removeOnPlaceObject | ( | MVPlaceObject * | object | ) |
Remove an object from this place.
Remove an object from this place.
| object | Pointer to the object, instance of MVOnPlaceObject, which should be removed. |
| std::vector< MVOnPlaceObject * > * MVPlace::getOnPlaceObjects | ( | ) |
Returns a pointer to the list of on Place Objects of this place.
Returns a pointer to the List of on Place Objects of this place.
| void MVPlace::renderGl | ( | ) | [virtual] |
| void MVPlace::selectGl | ( | ) | [virtual] |
| string MVPlace::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Object3d.
| string MVPlace::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Object3d.
| enum classId MVPlace::classId | ( | ) | const [virtual] |
Returns the class id of the object.
Reimplemented from Object3d.
std::vector<MVOnPlaceObject *> MVPlace::onPlaceObjects [private] |
Vector of OnPlaceObject's on this place.
Mesh MVPlace::placeMesh [private] |
The mesh of the tile, that represents this place.
1.5.6