Public Member Functions | Protected Attributes

psastras::engine::graphics::RotationAnimation Class Reference

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

List of all members.

Public Member Functions

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

Protected Attributes

float curTheta_ = 0.f
SceneEntity entity_
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