Packages

package events

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait EventWrapper extends AnyRef

    Basic event wrapper

  2. trait EventWrapperObservable[T <: EventWrapper] extends AnyRef

    This trait models a generic EventWrapper observable

    This trait models a generic EventWrapper observable

    T

    the EventWrapper type

  3. trait EventWrapperObserver[T <: EventWrapper] extends AnyRef

    A basic observer to a EventWrapper

    A basic observer to a EventWrapper

    T

    the EventWrapper class or subclass

  4. sealed trait GameStateEventWrapper extends EventWrapper

    Possible game events

  5. sealed trait LobbyEvent extends EventWrapper

    Possible LobbyEvents

  6. case class LobbyEventWrapper(lobbyEvent: LobbyEvent, user: Option[User]) extends EventWrapper with Product with Serializable

    Case class wrapping a LobbyEvent related to a User

    Case class wrapping a LobbyEvent related to a User

    lobbyEvent

    the lobby event

    user

    the user the event refers to

  7. case class MouseEventWrapper(point: Point, uuid: String = "") extends EventWrapper with Product with Serializable

    Case class which wraps a mouse event

    Case class which wraps a mouse event

    point

    the coordinates of the clicked point

    uuid

    the uuid of the entity linked with this event, if None set empty string to prevent any.

  8. sealed trait MultiPlayerGameStateEventWrapper extends GameStateEventWrapper

    Possible game events as a server

  9. case class StartGame(multiPlayerLevelContext: MultiPlayerLevelContext, levelInfo: LevelInfo) extends LobbyEvent with Product with Serializable

    LobbyEvent.

    LobbyEvent. The game must be started.

    multiPlayerLevelContext

    the provided multiplayer level context

    levelInfo

    the provided levelInfo

Value Members

  1. object AbortLobby extends LobbyEvent with Product with Serializable

    LobbyEvent.

    LobbyEvent. The lobby has been aborted

  2. object GameLost extends GameStateEventWrapper with Product with Serializable

    GameStateEventWrapper.

    GameStateEventWrapper. The game has been lost.

  3. object GameLostAsServer extends MultiPlayerGameStateEventWrapper with Product with Serializable

    GameStateEventWrapper.

    GameStateEventWrapper. The game has been lost as a server.

  4. object GamePending extends GameStateEventWrapper with Product with Serializable

    GameStateEventWrapper.

    GameStateEventWrapper. The game is in pending state

  5. object GameWon extends GameStateEventWrapper with Product with Serializable

    GameStateEventWrapper.

    GameStateEventWrapper. The game has been won.

  6. object UserAdded extends LobbyEvent with Product with Serializable

    LobbyEvent.

    LobbyEvent. A user has been added to the lobby

  7. object UserRemoved extends LobbyEvent with Product with Serializable

    LobbyEvent.

    LobbyEvent. A user has been removed from the lobby

Ungrouped