Class Player
- java.lang.Object
-
- de.extio.spacecraft.shared.model.game_server.instance.Player
-
public final class Player extends Object
-
-
Constructor Summary
Constructors Constructor Description Player()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getExpiration()
List<? extends AbstractCompositeEntity>
getLastCompositeEntitiesPublished()
int
getLastViewPortPublishingId()
String
getName()
UUID
getReconnectTicket()
UUID
getSession()
Integer
getShipSlot()
Area2
getViewport()
boolean
isInGame()
boolean
isReady()
boolean
isShipSlotHost()
void
setExpiration(OffsetDateTime expiration)
void
setInGame(boolean inGame)
void
setLastCompositeEntitiesPublished(List<? extends AbstractCompositeEntity> lastCompositeEntitiesPublished)
void
setLastViewPortPublishingId(int lastViewPortPublishingId)
void
setName(String name)
void
setReady(boolean ready)
void
setReconnectTicket(UUID reconnectTicket)
void
setSession(UUID session)
void
setShipSlot(Integer shipSlot)
void
setShipSlotHost(boolean shipSlotHost)
void
setViewport(Area2 viewport)
-
-
-
Method Detail
-
getSession
public UUID getSession()
-
setSession
public void setSession(UUID session)
-
isReady
public boolean isReady()
-
setReady
public void setReady(boolean ready)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getViewport
public Area2 getViewport()
-
setViewport
public void setViewport(Area2 viewport)
-
getLastCompositeEntitiesPublished
public List<? extends AbstractCompositeEntity> getLastCompositeEntitiesPublished()
-
setLastCompositeEntitiesPublished
public void setLastCompositeEntitiesPublished(List<? extends AbstractCompositeEntity> lastCompositeEntitiesPublished)
-
getLastViewPortPublishingId
public int getLastViewPortPublishingId()
-
setLastViewPortPublishingId
public void setLastViewPortPublishingId(int lastViewPortPublishingId)
-
isShipSlotHost
public boolean isShipSlotHost()
-
setShipSlotHost
public void setShipSlotHost(boolean shipSlotHost)
-
getShipSlot
public Integer getShipSlot()
-
setShipSlot
public void setShipSlot(Integer shipSlot)
-
isInGame
public boolean isInGame()
-
setInGame
public void setInGame(boolean inGame)
-
getExpiration
public OffsetDateTime getExpiration()
-
setExpiration
public void setExpiration(OffsetDateTime expiration)
-
getReconnectTicket
public UUID getReconnectTicket()
-
setReconnectTicket
public void setReconnectTicket(UUID reconnectTicket)
-
-