Packages

final case class ClientImpl() extends Client with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Client, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientImpl
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Client
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ClientImpl()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addPlayerToLobby(player: BasePlayer): Unit

    Adds a player to the lobby.

    Adds a player to the lobby.

    player

    The player to add.

    Definition Classes
    ClientImplClient
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bind(actorRef: ActorRef): Unit

    Binds this instance with the input ActorRef.

    Binds this instance with the input ActorRef.

    actorRef

    The ActorRef

    Definition Classes
    ClientImplClient
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def closeLobby(byUser: Boolean = true): Unit

    Closes the lobby.

    Closes the lobby.

    byUser

    If the lobby have been closed by the user or not.

    Definition Classes
    ClientImplClient
  9. def connect(address: String, port: Int): Promise[Boolean]

    Connects to a server.

    Connects to a server.

    address

    The server address.

    port

    The port address.

    returns

    Promise that completes with true if the connection has been successfully established; otherwise false.

    Definition Classes
    ClientImplClient
  10. def enterLobby(username: String, lobbyContext: LobbyContext): Promise[Boolean]

    Requests to enter the lobby.

    Requests to enter the lobby.

    username

    The username of the player.

    lobbyContext

    The lobby context.

    returns

    Promise that completes with true if the client have successfully entered the lobby; otherwise false.

    Definition Classes
    ClientImplClient
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getLobbyPlayers: Seq[BasePlayer]

    Gets the lobby players.

    Gets the lobby players.

    returns

    All players in the lobby.

    Definition Classes
    ClientImplClient
  15. def getUUID: String

    Gets the uuid of the cell entity that represents this client.

    Gets the uuid of the cell entity that represents this client.

    returns

    The uuid

    Definition Classes
    ClientImplClient
  16. def initGame(levelContext: MultiPlayerLevelContext): Unit

    Initializes the game.

    Initializes the game.

    levelContext

    The level context.

    Definition Classes
    ClientImplClient
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def kill(): Unit

    Kills this instance.

    Kills this instance.

    Definition Classes
    ClientImplClient
  19. def leaveGame(): Unit

    Leaves the game.

    Leaves the game.

    Definition Classes
    ClientImplClient
  20. def leaveLobby(): Unit

    Requests to leave the lobby.

    Requests to leave the lobby.

    Definition Classes
    ClientImplClient
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def notifyRedraw(entities: Seq[DrawableEntity]): Unit

    Notifies the client to redraw.

    Notifies the client to redraw.

    entities

    The entities to draw.

    Definition Classes
    ClientImplClient
  25. def removePlayerFromLobby(username: String): Unit

    Removes a player from the lobby.

    Removes a player from the lobby.

    username

    The username of the player.

    Definition Classes
    ClientImplClient
  26. def signalPlayerInput(event: MouseEventWrapper): Unit

    Forwards player into to the server.

    Forwards player into to the server.

    event

    The event.

    Definition Classes
    ClientImplClient
  27. def startGame(uuid: String, levelInfo: LevelInfo, mapShape: MapShape): Unit

    Starts the game.

    Starts the game.

    uuid

    The entity uuid assigned to this client by the server.

    levelInfo

    The level info.

    mapShape

    The shape of the level.

    Definition Classes
    ClientImplClient
  28. def stopGame(victorious: Boolean): Unit

    Stops the game.

    Stops the game.

    victorious

    If this client won or not.

    Definition Classes
    ClientImplClient
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. implicit val timeout: Timeout
    Definition Classes
    Client
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  34. implicit val who: String
    Definition Classes
    Client

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Client

Inherited from AnyRef

Inherited from Any

Ungrouped