Packages

object ServerActor

Server actor helper object

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServerActor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Connected(tempID: String) extends Product with Serializable

    Replies to a client connection request initiating the handshaking

    Replies to a client connection request initiating the handshaking

    tempID

    The temp id

  2. final case class GameEnded(victory: Boolean) extends Product with Serializable

    Tells the client that the game is ended and what's the final result

    Tells the client that the game is ended and what's the final result

    victory

    If client won or lost.

  3. final case class GameStarted(uuid: String, levelInfo: LevelInfo, mapShape: MapShape) extends Product with Serializable

    Tells the client that the game have been started

    Tells the client that the game have been started

    uuid

    The uuid of the entity assigned to the client by the server that represents him in the game

    levelInfo

    The level info

    mapShape

    The map shape

  4. final case class LobbyInfo(players: Seq[BasePlayer]) extends Product with Serializable

    Replies to a client enter lobby request with its info

    Replies to a client enter lobby request with its info

    players

    The players already inside the lobby

  5. final case class PlayerEnteredLobby(player: BasePlayer) extends Product with Serializable

    Tells the client that a new player entered in the lobby

    Tells the client that a new player entered in the lobby

    player

    The new player

  6. final case class PlayerLeftLobby(username: String) extends Product with Serializable

    Tells the client that a player left the lobby

    Tells the client that a player left the lobby

    username

    The username of the player

  7. final case class UpdateGame(entities: Seq[DrawableEntity]) extends Product with Serializable

    Sends the client the entities to draw

    Sends the client the entities to draw

    entities

    The entities to draw

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def props(server: Server): Props
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  21. object Disconnected extends Product with Serializable

    Aborts an handshaking with a client

  22. object LobbyClosed extends Product with Serializable

    Tells the client that the lobby have been closed

  23. object LobbyFull extends Product with Serializable

    Aborts a client enter lobby request because the lobby is full

  24. object UsernameAlreadyTaken extends Product with Serializable

    Aborts a client enter lobby request because the chosen username is already taken

Inherited from AnyRef

Inherited from Any

Ungrouped