#include <ComposedObject.h>
Inheritance diagram for ComposedObject:
Public Member Functions | |
ComposedObject () | |
~ComposedObject () | |
void | AddObject (RawObject *object) |
void | Draw () |
Private Types | |
typedef ComposedObject::ComponentElem | Components |
Private Attributes | |
Components * | first_component |
Classes | |
struct | ComponentElem |
This is an object which may consist of several parts. These parts can be added to the object and are drawn in the same order as they were added to this object.
Definition at line 18 of file ComposedObject.h.
|
Structure used to store the parts of this object. |
|
Constructor: Bring the object into a consistent state. Definition at line 3 of file ComposedObject.cpp. |
|
Destructor. Definition at line 8 of file ComposedObject.cpp. |
|
Adds a object.
Definition at line 13 of file ComposedObject.cpp. |
|
Implementation of the Draw routine. Draws all the objects that were added to this object. Reimplemented from RawObject. Definition at line 35 of file ComposedObject.cpp. |
|
List containing all the parts of this object Definition at line 55 of file ComposedObject.h. |