Package com.prineside.tdi2
Class CameraController.BasicAnimation
java.lang.Object
com.prineside.tdi2.CameraController.BasicAnimation
- All Implemented Interfaces:
CameraController.CameraControllerAnimation
- Enclosing class:
- CameraController
public static class CameraController.BasicAnimation
extends Object
implements CameraController.CameraControllerAnimation
-
Constructor Summary
ConstructorDescriptionBasicAnimation
(float toX, float toY, double toZoom, float duration, com.badlogic.gdx.math.Interpolation interpolation) -
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
boolean
isDone()
void
start
(CameraController controller) void
update
(float deltaTime)
-
Constructor Details
-
BasicAnimation
public BasicAnimation(float toX, float toY, double toZoom, float duration, com.badlogic.gdx.math.Interpolation interpolation)
-
-
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
-