object Population
- Source
- Zone.scala
- Alphabetic
- By Inheritance
- Population
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Join(avatar: Avatar) extends Product with Serializable
Message that introduces a user, by their
Avatar
, into aZone
.Message that introduces a user, by their
Avatar
, into aZone
. That user will be counted as part of that zone's population. Theavatar
may associatePlayer
objects with itself in the future.- avatar
the
Avatar
object
- final case class Leave(avatar: Avatar) extends Product with Serializable
Message that excuses a user, by their
Avatar
, into aZone
.Message that excuses a user, by their
Avatar
, into aZone
. That user will not longer be counted as part of that zone's population.- avatar
the
Avatar
object
- See also
PlayerHasLeft
- final case class PlayerAlreadySpawned(zone: Zone, player: Player) extends Product with Serializable
Message that acts in reply to
Spawn(avatar, player)
, but the avatar already has a player.Message that acts in reply to
Spawn(avatar, player)
, but the avatar already has a player.- player
the
Player
object
- final case class PlayerCanNotSpawn(zone: Zone, player: Player) extends Product with Serializable
Message that acts in reply to
Spawn(avatar, player)
, but the avatar did not initiallyJoin
this zone.Message that acts in reply to
Spawn(avatar, player)
, but the avatar did not initiallyJoin
this zone.- zone
the
Zone
object- player
the
Player
object
- final case class PlayerHasLeft(zone: Zone, player: Option[Player]) extends Product with Serializable
Message that acts in reply to
Leave(avatar)
orRelease(avatar)
.Message that acts in reply to
Leave(avatar)
orRelease(avatar)
. In the former case, the avatar will have successfully left the zone, andplayer
may be defined. In the latter case, the avatar did not initiallyJoin
the zone, andplayer
isNone
. This message should not be considered a failure or a success case.- zone
the
Zone
object- player
the
Player
object
- See also
Release
Leave
- final case class Release(avatar: Avatar) extends Product with Serializable
Message that instructs the zone to disassociate a
Player
from thisActor
.Message that instructs the zone to disassociate a
Player
from thisActor
.- avatar
the
Avatar
object
- See also
PlayerHasLeft
- final case class Spawn(avatar: Avatar, player: Player, avatarActor: ActorRef[Command]) extends Product with Serializable
Message that instructs the zone to disassociate a
Player
from thisActor
.Message that instructs the zone to disassociate a
Player
from thisActor
.- avatar
the
Avatar
object- player
the
Player
object
- See also
PlayerAlreadySpawned
PlayerCanNotSpawn
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()