object ClientActor
Client actor helper object
- Alphabetic
- By Inheritance
- ClientActor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
Connect(actorRef: ActorRef) extends Product with Serializable
Asks the server to begin handshaking.
Asks the server to begin handshaking.
- actorRef
It's own actor reference
-
final
case class
Disconnect(username: String) extends Product with Serializable
Tells the server that a specific player is disconnecting.
Tells the server that a specific player is disconnecting.
- username
The username of the player
-
final
case class
EnterLobby(clientID: String, username: String) extends Product with Serializable
Asks the server to enter the lobby.
Asks the server to enter the lobby.
- clientID
The client temp id (received from handshaking)
- username
The chosen username
-
final
case class
LeaveGame(username: String) extends Product with Serializable
Tells the server that a player leaves the game.
Tells the server that a player leaves the game.
- username
The username of the player
-
final
case class
LeaveLobby(username: String) extends Product with Serializable
Tells the server that a player leaves the lobby.
Tells the server that a player leaves the lobby.
- username
The username of the player
-
final
case class
PlayerInput(event: MouseEventWrapper) extends Product with Serializable
Sends to the server the user triggered mouse event to process, to let him move the entity.
Sends to the server the user triggered mouse event to process, to let him move the entity.
- event
The mouse event.
-
final
case class
StartWatching(serverRef: ActorRef) extends Product with Serializable
Tells himself to start watching the server actor.
Tells himself to start watching the server actor.
- serverRef
The server actor reference
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def props(client: Client): Props
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
object
Ready extends Product with Serializable
Replies to the server, after receiving a game started message, that it's ready to receive updates