Class ViewPortEntityStatusIconEvent
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.event.Event
-
- de.extio.spacecraft.shared.model.client.event.ViewPortEntityStatusIconEvent
-
public final class ViewPortEntityStatusIconEvent extends Event
Draws an icon (e.g. blinking) on an entity
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode
-
Constructor Summary
Constructors Constructor Description ViewPortEntityStatusIconEvent(int frameTTL, UUID compositeEntityId, CoordI2 entityPosition, int iconTileset, CoordI2 iconTilesetPosition, ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode displayMode, CoordI2 subTileOffset)
ViewPortEntityStatusIconEvent(int frameTTL, UUID compositeEntityId, CoordI2 entityPosition, ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode displayMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
getCompositeEntityId()
ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode
getDisplayMode()
CoordI2
getEntityPosition()
int
getIconTileset()
CoordI2
getIconTilesetPosition()
CoordI2
getSubTileOffset()
void
setIconTileset(int iconTileset)
void
setIconTilesetPosition(CoordI2 iconTilesetPosition)
void
setSubTileOffset(CoordI2 subTileOffset)
-
Methods inherited from class de.extio.spacecraft.shared.model.client.event.Event
getFrameCur, getFrameTTL, isExlusive, isInGroup, isPriority, setFrameCur
-
-
-
-
Constructor Detail
-
ViewPortEntityStatusIconEvent
public ViewPortEntityStatusIconEvent(int frameTTL, UUID compositeEntityId, CoordI2 entityPosition, ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode displayMode)
-
ViewPortEntityStatusIconEvent
public ViewPortEntityStatusIconEvent(int frameTTL, UUID compositeEntityId, CoordI2 entityPosition, int iconTileset, CoordI2 iconTilesetPosition, ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode displayMode, CoordI2 subTileOffset)
-
-
Method Detail
-
getCompositeEntityId
public UUID getCompositeEntityId()
-
getIconTileset
public int getIconTileset()
-
getIconTilesetPosition
public CoordI2 getIconTilesetPosition()
-
getDisplayMode
public ViewPortEntityStatusIconEvent.ViewPortEntityStatusIconEventDisplayMode getDisplayMode()
-
setIconTileset
public void setIconTileset(int iconTileset)
-
setIconTilesetPosition
public void setIconTilesetPosition(CoordI2 iconTilesetPosition)
-
getSubTileOffset
public CoordI2 getSubTileOffset()
-
setSubTileOffset
public void setSubTileOffset(CoordI2 subTileOffset)
-
getEntityPosition
public CoordI2 getEntityPosition()
-
-