Public Member Functions | Protected Member Functions | Protected Attributes

celery::engine::updatehandlers::PhysicsHandler Class Reference

Inheritance diagram for celery::engine::updatehandlers::PhysicsHandler:
Inheritance graph
[legend]
Collaboration diagram for celery::engine::updatehandlers::PhysicsHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PhysicsHandler (PhysicsHandlerSettings settings, Context context)
void remove (PhysicsEntity e)
void clear ()
void resolveConstraints (int updates)
void pause ()
void addItem (PhysicsEntity e)
void start ()
void resume ()
void receiveMessage (Message msg)
void stop ()

Protected Member Functions

void update ()
void integrate (final PhysicsEntity e, final float dt)
long elapsedTime ()
void sendUpdateMessage ()

Protected Attributes

PhysicsHandlerSettings settings_
long mSecUPSWait
boolean isRunning_ = false
HashSet< PhysicsEntitydata_ = new HashSet<PhysicsEntity>()
long prevTime_ = 0
long remainderTime_ = 0
Vec2F temp_ = new Vec2F()
Vec2F temp_2 = new Vec2F()

The documentation for this class was generated from the following file:
 All Classes Functions Variables