Class FreeColServerHolder

    • Field Detail

      • freeColServer

        private final FreeColServer freeColServer
        The main server object.
    • Constructor Detail

      • FreeColServerHolder

        protected FreeColServerHolder​(FreeColServer server)
        Constructor.
        Parameters:
        server - The initial value for the server.
    • Method Detail

      • getFreeColServer

        protected FreeColServer getFreeColServer()
        Returns the main server object.
        Returns:
        The main server object.
      • getGame

        protected ServerGame getGame()
        Get the game the server is operating.
        Returns:
        The current ServerGame.