Class GameSession


  • public final class GameSession
    extends Object
    • Constructor Detail

      • GameSession

        public GameSession()
    • Method Detail

      • getGameSessionId

        public UUID getGameSessionId()
      • setGameSessionId

        public void setGameSessionId​(UUID gameSessionId)
      • getHost

        public UUID getHost()
      • setHost

        public void setHost​(UUID host)
      • getShipByPlayer

        public Map<UUID,​UUID> getShipByPlayer()
      • getTurn

        public int getTurn()
      • setTurn

        public void setTurn​(int turn)
      • getNextTurnAtLow

        public long getNextTurnAtLow()
      • setNextTurnAtLow

        public void setNextTurnAtLow​(long nextTurnAtLow)
      • getNextTurnAtHigh

        public long getNextTurnAtHigh()
      • setNextTurnAtHigh

        public void setNextTurnAtHigh​(long nextTurnAtHigh)
      • getTurnIntervalLow

        public int getTurnIntervalLow()
      • setTurnIntervalLow

        public void setTurnIntervalLow​(int turnIntervalLow)
      • getTurnIntervalHigh

        public int getTurnIntervalHigh()
      • setTurnIntervalHigh

        public void setTurnIntervalHigh​(int turnIntervalHigh)
      • getViewportSubscription

        public Area2 getViewportSubscription()
      • setViewportSubscription

        public void setViewportSubscription​(Area2 viewportSubscription)
      • isNextTurn

        public boolean isNextTurn()
      • setNextTurn

        public void setNextTurn​(boolean nextTurn)
      • getPrevTurn

        public int getPrevTurn()
      • setPrevTurn

        public void setPrevTurn​(int prevTurn)
      • getEditorMode

        public Boolean getEditorMode()
      • setEditorMode

        public void setEditorMode​(Boolean editorMode)
      • getGameModeName

        public String getGameModeName()
      • setGameModeName

        public void setGameModeName​(String gameModeName)
      • getQuickJoinCode

        public String getQuickJoinCode()
      • setQuickJoinCode

        public void setQuickJoinCode​(String quickJoinCode)
      • isServerPublishingTcp

        public boolean isServerPublishingTcp()
      • setServerPublishingTcp

        public void setServerPublishingTcp​(boolean serverPublishingTcp)
      • isServerPublishingQuickJoinCode

        public boolean isServerPublishingQuickJoinCode()
      • setServerPublishingQuickJoinCode

        public void setServerPublishingQuickJoinCode​(boolean serverPublishingQuickJoinCode)
      • isServerPublishingPublicListed

        public boolean isServerPublishingPublicListed()
      • setServerPublishingPublicListed

        public void setServerPublishingPublicListed​(boolean serverPublishingPublicListed)
      • setGameModeOptions

        public void setGameModeOptions​(Map<String,​Object> gameModeOptions)
      • isDedicatedServer

        public boolean isDedicatedServer()
      • setDedicatedServer

        public void setDedicatedServer​(boolean dedicatedServer)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
      • setGameRunMode

        public void setGameRunMode​(GameRunMode gameRunMode)
      • getGameTimePrevDuration

        public Duration getGameTimePrevDuration()
      • setGameTimePrevDuration

        public void setGameTimePrevDuration​(Duration gameTimePrevDuration)
      • getGameTimeCurBegin

        public LocalDateTime getGameTimeCurBegin()
      • setGameTimeCurBegin

        public void setGameTimeCurBegin​(LocalDateTime gameTimeCurBegin)
      • getReconnectTicket

        public UUID getReconnectTicket()
      • setReconnectTicket

        public void setReconnectTicket​(UUID reconnectTicket)
      • isPausable

        public boolean isPausable()
      • setPausable

        public void setPausable​(boolean pausable)
      • isPaused

        public boolean isPaused()
      • setPaused

        public void setPaused​(boolean paused)