#include <flatland.hpp>
Inheritance diagram for Flatland::Object:
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 ¢er) |
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 |