object Mountable
- Source
- Mountable.scala
- Alphabetic
- By Inheritance
- Mountable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class CanDismount(obj: Mountable, seat_num: Int, mount_point: Int) extends Exchange with Product with Serializable
Message sent in response to the player succeeding to disembark a
Mountable
object.Message sent in response to the player succeeding to disembark a
Mountable
object. The player was previously seated at the given index.- obj
the
Mountable
object- seat_num
the seat index
- final case class CanMount(obj: Mountable, seat_number: Int, mount_point: Int) extends Exchange with Product with Serializable
Message sent in response to the player succeeding to access a
Mountable
object.Message sent in response to the player succeeding to access a
Mountable
object. The player should be seated at the given index.- obj
the
Mountable
object- mount_point
the mount index
- final case class CanNotDismount(obj: Mountable, seat_num: Int) extends Exchange with Product with Serializable
Message sent in response to the player failing to disembark a
Mountable
object.Message sent in response to the player failing to disembark a
Mountable
object. The player is still seated at the given index.- obj
the
Mountable
object- seat_num
the seat index
- final case class CanNotMount(obj: Mountable, mount_point: Int) extends Exchange with Product with Serializable
Message sent in response to the player failing to access a
Mountable
object.Message sent in response to the player failing to access a
Mountable
object. The player would have been be seated at the given index.- obj
the
Mountable
object- mount_point
the mount index
- sealed trait Exchange extends AnyRef
A basic
Trait
connecting all of the actionableMountable
response messages. - final case class MountMessages(player: Player, response: Exchange) extends Product with Serializable
Message that carries the result of the processed request message back to the original user (
player
).Message that carries the result of the processed request message back to the original user (
player
).- player
the player who sent this request message
- response
the result of the processed request
- final case class TryDismount(player: Player, seat_num: Int, bailType: types.BailType.Value) extends Product with Serializable
Message used by the player to indicate the desire to escape a
Mountable
object.Message used by the player to indicate the desire to escape a
Mountable
object.- player
the player who sent this request message
- seat_num
the seat index
- final case class TryMount(player: Player, mount_point: Int) extends Product with Serializable
Message used by the player to indicate the desire to board a
Mountable
object.Message used by the player to indicate the desire to board a
Mountable
object.- player
the player who sent this request message
- mount_point
the mount index
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()
- object TryDismount extends Serializable