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, getClampAlign, getClampValign, getFocus, getMapLocation, getPixelOffsetX, getPixelOffsetY, getRenderScale, getViewport, getViewportDimensionCenter, getViewportHeight, getViewportLocation, getViewportLocation, getViewportLocation, getViewportWidth, getZoom, isClampToMap, onFocusChanged, onZoomChanged, pan, pan, panTime, setClampAlign, setClampToMap, setFocus, setFocus, setZoom, shake, updateFocus
public 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()
IUpdateable
update
in interface IUpdateable
update
in class Camera