Polycode::PhysicsScreenEntity Class Reference

A 2D Physics enabled screen entity. More...

List of all members.

Public Member Functions

ScreenEntity * getScreenEntity ()
 Returns the screen entity associated with this physics entity.
void applyTorque (Number torque)
 Applies torque to the physics entity.
void applyForce (Vector2 force)
 Applies force to the physics entity.

Static Public Attributes

static const int ENTITY_RECT = 1
 Rectangular physics entity.
static const int ENTITY_CIRCLE = 2
 Circular physics entity.
static const int ENTITY_MESH = 3
 Mesh entity.

Detailed Description

A 2D Physics enabled screen entity.

Generated on Sat Aug 11 18:04:12 2012 for Physics2D by  doxygen 1.6.3