#include <shapes.hpp>
Inheritance diagram for Flatland::Composite:
Definition at line 100 of file shapes.hpp.
Public Types | |
typedef GList::const_iterator | const_iterator |
typedef GList::iterator | iterator |
Public Member Functions | |
Composite (vec2 centroid) | |
~Composite () | |
void | UpdateBounds () |
void | Finalize () |
Shape | GetShape () const |
void | SetCenter (const vec2 ¢er) |
void | SetAxis (const vec2 &axis) |
void | SetMass (Body body, float density) const |
const_iterator | begin () const |
const_iterator | end () const |
const Geometry & | front () const |
const Geometry & | back () const |
void | push_back (Geometry *geometry) |
size_t | size () const |
Private Attributes | |
GList | geometries |