Package com.prineside.tdi2
Class CameraController.ShakeAnimation
java.lang.Object
com.prineside.tdi2.CameraController.ShakeAnimation
- All Implemented Interfaces:
CameraController.CameraControllerAnimation
- Enclosing class:
- CameraController
public static class CameraController.ShakeAnimation
extends Object
implements CameraController.CameraControllerAnimation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
boolean
isDone()
void
start
(CameraController controller) void
update
(float deltaTime)
-
Constructor Details
-
ShakeAnimation
public ShakeAnimation(float force, float duration)
-
-
Method Details
-
start
- Specified by:
start
in interfaceCameraController.CameraControllerAnimation
-
update
public void update(float deltaTime) - Specified by:
update
in interfaceCameraController.CameraControllerAnimation
-
end
public void end()- Specified by:
end
in interfaceCameraController.CameraControllerAnimation
-
isDone
public boolean isDone()- Specified by:
isDone
in interfaceCameraController.CameraControllerAnimation
-