public class PositionLockCamera extends Camera
Constructor and Description |
---|
PositionLockCamera(IEntity entity) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.geom.Point2D |
getLockedCameraLocation() |
IEntity |
getLockedEntity() |
void |
updateFocus() |
clampToMap, getFocus, getMapLocation, getPixelOffsetX, getPixelOffsetY, getRenderScale, getViewport, getViewportDimensionCenter, getViewportLocation, getViewportLocation, getViewportLocation, getZoom, isClampToMap, onFocusChanged, onZoomChanged, pan, pan, setClampToMap, setFocus, setFocus, setZoom, shake, update
public PositionLockCamera(IEntity entity)
public IEntity getLockedEntity()
public void updateFocus()
updateFocus
in interface ICamera
updateFocus
in class Camera
protected java.awt.geom.Point2D getLockedCameraLocation()