This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package space.util; | |
import com.badlogic.gdx.graphics.OrthographicCamera; | |
import com.badlogic.gdx.math.Vector2; | |
import com.badlogic.gdx.math.Vector3; | |
import com.badlogic.gdx.utils.viewport.Viewport; | |
/** | |
* Initialize the CameraManager with viewport and camera and use it to set | |
* target position and zoom for your camera. The CameraManager will smoothly |