public class FreeFlightCamera extends Camera implements IUpdateable
ICamera.FocusChangedListener, ICamera.ZoomChangedListener| 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 are attached to the loop.
|
clampToMap, getClampAlign, getClampValign, getFocus, getMapLocation, getPixelOffsetX, getPixelOffsetY, getRenderScale, getViewport, getViewportDimensionCenter, getViewportHeight, getViewportLocation, getViewportLocation, getViewportLocation, getViewportWidth, getZoom, isClampToMap, onFocus, onZoom, pan, pan, panTime, removeFocusListener, removeZoomListener, setClampAlign, 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()
IUpdateableClientConfiguration.update in interface IUpdateableupdate in class CameraClientConfiguration.setMaxFps(int)