public class FreeFlightCamera extends Camera implements IUpdateable
| Constructor and Description |
|---|
FreeFlightCamera() |
FreeFlightCamera(double x,
double y) |
FreeFlightCamera(java.awt.geom.Point2D focus) |
| Modifier and Type | Method and Description |
|---|---|
double |
getScrollPadding() |
double |
getVelocity() |
void |
setScrollPadding(double scrollPadding) |
void |
setVelocity(double velocity) |
void |
update()
This method is called by the game loop on all objects that need to update
their attributes.
|
clampToMap, getFocus, getMapLocation, getPixelOffsetX, getPixelOffsetY, getRenderScale, getViewPort, getViewPortDimensionCenter, getViewPortLocation, getViewPortLocation, getViewPortLocation, getZoom, isClampToMap, onFocusChanged, onZoomChanged, setClampToMap, setFocus, setFocus, setZoom, shake, updateFocuspublic FreeFlightCamera()
public FreeFlightCamera(double x,
double y)
public FreeFlightCamera(java.awt.geom.Point2D focus)
public double getVelocity()
public double getScrollPadding()
public void setVelocity(double velocity)
public void setScrollPadding(double scrollPadding)
public void update()
IUpdateableupdate in interface IUpdateableupdate in class Camera