class ReferablePlayer extends BasePlayer with Referable with Alive
Lobby user with references
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReferablePlayer
- Alive
- Referable
- BasePlayer
- Serializable
- Serializable
- Product
- Equals
- Player
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ReferablePlayer(basicPlayer: BasePlayer, actorRef: ActorRef)
Secondary constructor.
Secondary constructor.
- basicPlayer
The BasicPlayer.
- actorRef
The actor reference.
- returns
A new ReferablePlayer instance.
-
new
ReferablePlayer(username: String, address: String, port: Int, actorRef: ActorRef)
- username
The username
- address
The address
- port
The port
- actorRef
The 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
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getActorRef: ActorRef
The actor ref.
-
def
getAddress: String
Gets the address.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getPort: Int
Gets the port.
-
def
getUUID: String
Gets the UUID of the player.
-
def
getUsername: String
Gets the username.
-
def
isAlive: Boolean
Determines whether the player is alive or not.
Determines whether the player is alive or not.
- returns
If the player is alive or not.
- Definition Classes
- Alive
-
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
setLiveness(isAlive: Boolean): Unit
Sets the liveness of the player.
-
def
setUUID(uuid: String): Unit
Sets the UUID of the player.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBasicPlayer: BasePlayer
Creates a BasicPlayer object from this instance.
Creates a BasicPlayer object from this instance.
- returns
The basic player object
-
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( ... )