Schnittstelle BattleshipClient


public interface BattleshipClient
Interface representing a Battleship client. Provides methods to access game logic, configuration, and to enqueue tasks.
  • Methodendetails

    • getGameLogic

      ClientGameLogic getGameLogic()
      Returns the game logic associated with this client.
      Gibt zurück:
      the ClientGameLogic instance
    • getConfig

      Returns the configuration associated with this client.
      Gibt zurück:
      the BattleshipConfig instance
    • enqueue

      void enqueue(Runnable runnable)
      Enqueues a task to be executed by the client.
      Parameter:
      runnable - the task to be executed