public class CameraMode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
AbstractPlayerEntity |
player |
| Constructor and Description |
|---|
CameraMode(AbstractPlayerEntity player) |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
double |
getCameraSpeed() |
double |
getLerpedX() |
double |
getLerpedY() |
double |
getX() |
double |
getY() |
boolean |
isActive() |
boolean |
move(MoveType type) |
boolean |
start() |
void |
update() |
public AbstractPlayerEntity player
public CameraMode(AbstractPlayerEntity player)
public boolean start()
public void update()
public void end()
public boolean move(MoveType type)
public double getCameraSpeed()
public double getX()
public double getY()
public double getLerpedX()
public double getLerpedY()
public boolean isActive()