SourceForge.net Logo

Flatland::Composite Class Reference

#include <shapes.hpp>

Inheritance diagram for Flatland::Composite:

Flatland::Geometry List of all members.

Detailed Description

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 &center)
void SetAxis (const vec2 &axis)
void SetMass (Body body, float density) const
const_iterator begin () const
const_iterator end () const
const Geometryfront () const
const Geometryback () const
void push_back (Geometry *geometry)
size_t size () const

Private Attributes

GList geometries

The documentation for this class was generated from the following files:
Generated on Sat Jan 13 17:20:21 2007 for Flatland by doxygen 1.5.1