Class GameSessionShipSlot
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.game.GameSessionShipSlot
-
public final class GameSessionShipSlot extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
TEAM_AI
-
Constructor Summary
Constructors Constructor Description GameSessionShipSlot()
-
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)
-
-
-
Field Detail
-
TEAM_AI
public static final int TEAM_AI
- See Also:
- Constant Field Values
-
-
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)
-
-