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 GameSession
getGameSession()
Player
getLocalPlayer()
UUID
getLocalPlayerId()
SpaceShip
getLocalPlayerSpaceShip()
boolean
isJoined()
boolean
isJoining()
boolean
isLocalPlayerHost()
void
reset()
void
setJoined(boolean joined)
void
setJoining(boolean joining)
void
setLocalPlayer(Player localPlayer)
void
setLocalPlayerHost(boolean localPlayerHost)
void
setLocalPlayerId(UUID currentPlayerId)
void
setLocalPlayerSpaceShip(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)
-
-