Public Member Functions | Protected Member Functions | Protected Attributes

celery::engine::graphics::animation::RotationAnimation Class Reference

Inheritance diagram for celery::engine::graphics::animation::RotationAnimation:
Inheritance graph
[legend]
Collaboration diagram for celery::engine::graphics::animation::RotationAnimation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RotationAnimation (SceneEntity e, float dtheta, long length)
void runTimeStep ()
void reset (boolean loop)
boolean isFinished ()

Protected Member Functions

void onAnimationFinished ()

Protected Attributes

float curTheta_ = 0.f
float dTheta_
long maxTime_

Member Data Documentation

Rotation animation constructor. The SceneEntity is the entity to rotate, and dTheta is the amount to rotate (in degrees per second).

Parameters:
e 
dtheta 

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