Class ViewPortModuleSettings
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.settings.ViewPortModuleSettings
-
public final class ViewPortModuleSettings extends Object
Acquire with:EngineFacade.instance().getClientState().getState().get("ViewPortModuleSettings")
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewPortModuleSettings.SuspendViewPortDraggingMode
-
Field Summary
Fields Modifier and Type Field Description static Area2
VIEWPORT_NORMALIZED_AREA_FULL
-
Constructor Summary
Constructors Constructor Description ViewPortModuleSettings()
ViewPortModuleSettings(ViewPortModuleSettings other)
-
Method Summary
-
-
-
Field Detail
-
VIEWPORT_NORMALIZED_AREA_FULL
public static final Area2 VIEWPORT_NORMALIZED_AREA_FULL
-
-
Constructor Detail
-
ViewPortModuleSettings
public ViewPortModuleSettings()
-
ViewPortModuleSettings
public ViewPortModuleSettings(ViewPortModuleSettings other)
-
-
Method Detail
-
reset
public void reset()
-
update
public void update(ViewPortModuleSettings other)
-
getDrawOverlayEntities
public List<AbstractEntity> getDrawOverlayEntities()
-
setDrawOverlayEntities
public void setDrawOverlayEntities(List<AbstractEntity> drawOverlayEntities)
-
getViewPortWorldPosition
public CoordI2 getViewPortWorldPosition()
-
setViewPortWorldPosition
public void setViewPortWorldPosition(CoordI2 viewPortPosition)
-
isViewportDragging
public boolean isViewportDragging()
-
setViewportDragging
public void setViewportDragging(boolean viewportDragging)
-
setSuspendViewportDragging
public void setSuspendViewportDragging(ViewPortModuleSettings.SuspendViewPortDraggingMode suspendViewportDragging)
-
isSuspendViewportInput
public boolean isSuspendViewportInput()
-
setSuspendViewportInput
public void setSuspendViewportInput(boolean suspendViewportInput)
-
getSuspendViewportDragging
public ViewPortModuleSettings.SuspendViewPortDraggingMode getSuspendViewportDragging()
-
setViewPortWorldDimension
public void setViewPortWorldDimension(CoordI2 dimension)
-
getViewPortWorldDimension
public CoordI2 getViewPortWorldDimension()
-
isFollowPlayerShip
public boolean isFollowPlayerShip()
-
setFollowPlayerShip
public void setFollowPlayerShip(boolean followPlayerShip)
-
isDrawFogOfWar
public boolean isDrawFogOfWar()
-
setDrawFogOfWar
public void setDrawFogOfWar(boolean drawFogOfWar)
-
getViewportNormalizedArea
public Area2 getViewportNormalizedArea()
-
setViewportNormalizedArea
public void setViewportNormalizedArea(Area2 viewportNormalizedArea)
-
getDrawExclusively
public UUID getDrawExclusively()
-
setDrawExclusively
public void setDrawExclusively(UUID drawExclusively)
-
isDoCenterAtPlayerShip
public boolean isDoCenterAtPlayerShip()
-
setDoCenterAtPlayerShip
public void setDoCenterAtPlayerShip(boolean doCenterAtPlayerShip)
-
isViewPortScrollOffsetReset
public boolean isViewPortScrollOffsetReset()
-
setViewPortScrollOffsetReset
public void setViewPortScrollOffsetReset(boolean viewPortScrollOffsetReset)
-
isSuspendCompositeEntityAnimations
public boolean isSuspendCompositeEntityAnimations()
-
setSuspendCompositeEntityAnimations
public void setSuspendCompositeEntityAnimations(boolean suspendCompositeEntityAnimations)
-
-