public class RotateObjectComponent implements Component
Component for tracking rotateobject state. Attach this component to entities that need to track rotateobject data.
java.lang.Object > RotateObjectComponent
Field Summary
rotationSpeed
private
float
rotationSpeed
Field rotationSpeed.
Method Detail
getComponentType
public
RotateObjectComponent>
getComponentType
()
Method getComponentType.
RotateObjectComponent
public
public
RotateObjectComponent
()
Method RotateObjectComponent.
setRotationSpeed
public
void
setRotationSpeed
(final float rotationSpeed)
Method setRotationSpeed.
- Parameters:
final floatrotationSpeed
getRotationSpeed
public
float
getRotationSpeed
()
Method getRotationSpeed.