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 Geometry & GetGeometry ()=0
virtual const Geometry & GetGeometry () 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)
ObjectProperties & Property ()
const ObjectProperties & Property () const

Static Public Member Functions

static ObjectProperties & Default ()
static void PushProperties ()
static void PopProperties ()

Private Attributes

ObjectProperties properties

Static Private Attributes

static ObjectProperties defaults
static std::stack< ObjectProperties > defaultStack


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