Flatland

Documentation

SourceForge.net Logo

Flatland::Object Class Reference

#include <flatland.hpp>

Inheritance diagram for Flatland::Object:

Flatland::Dynamic< G > Flatland::Static< G > List of all members.

Detailed Description

Flatland::Object is an abstract class which can be dynamic or static.

Definition at line 73 of file flatland.hpp.

Public Member Functions

 Object ()
virtual ~Object ()
virtual GeometryGetGeometry ()=0
virtual const GeometryGetGeometry () const=0
virtual bool IsDynamic () const=0
virtual Body GetBody ()=0
virtual void SetMass (float density)=0
void Move ()
void Rotate (float theta)
void SetCenter (const vec2 &center)
ObjectPropertiesProperty ()
const ObjectPropertiesProperty () const

Static Public Member Functions

static ObjectPropertiesDefault ()
static void PushProperties ()
static void PopProperties ()

Private Attributes

ObjectProperties properties

Static Private Attributes

static ObjectProperties defaults
static std::stack< ObjectPropertiesdefaultStack


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