Class Player
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.game.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 int
getIndex()
String
getName()
Integer
getShipSlot()
UUID
getUuid()
boolean
isHost()
boolean
isInGame()
boolean
isLoggedOn()
boolean
isReady()
boolean
isShipSlotHost()
void
setHost(boolean host)
void
setIndex(int index)
void
setInGame(boolean inGame)
void
setLoggedOn(boolean loggedOn)
void
setName(String name)
void
setReady(boolean ready)
void
setShipSlot(Integer shipSlot)
void
setShipSlotHost(boolean shipSlotHost)
void
setUuid(UUID uuid)
-
-
-
Method Detail
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
getName
public String getName()
-
setName
public void setName(String name)
-
isLoggedOn
public boolean isLoggedOn()
-
setLoggedOn
public void setLoggedOn(boolean loggedOn)
-
isReady
public boolean isReady()
-
setReady
public void setReady(boolean ready)
-
isHost
public boolean isHost()
-
setHost
public void setHost(boolean host)
-
getUuid
public UUID getUuid()
-
setUuid
public void setUuid(UUID uuid)
-
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)
-
-