Class GameSessionUpdateMessageShipSlot
- java.lang.Object
-
- de.extio.spacecraft.shared.model.message.toclient.GameSessionUpdateMessageShipSlot
-
public final class GameSessionUpdateMessageShipSlot extends Object
Message send to the client to inform incrementally about any change related to the game session.
-
-
Constructor Summary
Constructors Constructor Description GameSessionUpdateMessageShipSlot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
List<UUID>
getPlayers()
GameModeDefShipSlot
getShipSlotDef()
UUID
getSpaceShip()
UUID
getSpaceShipUploadedBy()
int
getTeam()
boolean
isActive()
boolean
isAi()
boolean
isIngame()
boolean
isPlayerSlotsClosed()
void
setActive(boolean active)
void
setAi(boolean ai)
void
setIndex(int index)
void
setIngame(boolean ingame)
void
setPlayers(List<UUID> players)
void
setPlayerSlotsClosed(boolean playerSlotsClosed)
void
setShipSlotDef(GameModeDefShipSlot shipSlotDef)
void
setSpaceShip(UUID spaceShip)
void
setSpaceShipUploadedBy(UUID spaceShipUploadedBy)
void
setTeam(int team)
-
-
-
Method Detail
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
getShipSlotDef
public GameModeDefShipSlot getShipSlotDef()
-
setShipSlotDef
public void setShipSlotDef(GameModeDefShipSlot shipSlotDef)
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
getSpaceShip
public UUID getSpaceShip()
-
setSpaceShip
public void setSpaceShip(UUID spaceShip)
-
isPlayerSlotsClosed
public boolean isPlayerSlotsClosed()
-
setPlayerSlotsClosed
public void setPlayerSlotsClosed(boolean playerSlotsClosed)
-
isAi
public boolean isAi()
-
setAi
public void setAi(boolean ai)
-
isIngame
public boolean isIngame()
-
setIngame
public void setIngame(boolean ingame)
-
getTeam
public int getTeam()
-
setTeam
public void setTeam(int team)
-
getSpaceShipUploadedBy
public UUID getSpaceShipUploadedBy()
-
setSpaceShipUploadedBy
public void setSpaceShipUploadedBy(UUID spaceShipUploadedBy)
-
-