Class Game
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.game.Game
-
public final class Game extends Object
-
-
Constructor Summary
Constructors Constructor Description Game()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameSessiongetGameSession()PlayergetLocalPlayer()UUIDgetLocalPlayerId()SpaceShipgetLocalPlayerSpaceShip()booleanisJoined()booleanisJoining()booleanisLocalPlayerHost()voidreset()voidsetJoined(boolean joined)voidsetJoining(boolean joining)voidsetLocalPlayer(Player localPlayer)voidsetLocalPlayerHost(boolean localPlayerHost)voidsetLocalPlayerId(UUID currentPlayerId)voidsetLocalPlayerSpaceShip(SpaceShip currentPlayerSpaceShip)
-
-
-
Method Detail
-
reset
public void reset()
-
getGameSession
public GameSession getGameSession()
-
getLocalPlayerId
public UUID getLocalPlayerId()
-
setLocalPlayerId
public void setLocalPlayerId(UUID currentPlayerId)
-
getLocalPlayerSpaceShip
public SpaceShip getLocalPlayerSpaceShip()
-
setLocalPlayerSpaceShip
public void setLocalPlayerSpaceShip(SpaceShip currentPlayerSpaceShip)
-
isLocalPlayerHost
public boolean isLocalPlayerHost()
-
setLocalPlayerHost
public void setLocalPlayerHost(boolean localPlayerHost)
-
isJoined
public boolean isJoined()
-
setJoined
public void setJoined(boolean joined)
-
isJoining
public boolean isJoining()
-
setJoining
public void setJoining(boolean joining)
-
getLocalPlayer
public Player getLocalPlayer()
-
setLocalPlayer
public void setLocalPlayer(Player localPlayer)
-
-