class Seat extends MountableSpace[Player]
- Source
- Seat.scala
- Alphabetic
- By Inheritance
- Seat
- MountableSpace
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Seat(sdef: SeatDefinition)
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 bailable: Boolean
Does this mountable space count as being "bailable", a condition whereupon it can be unmounted under duress? The conditions of the duress do not matter at the moment; this is only a test of possibility.
Does this mountable space count as being "bailable", a condition whereupon it can be unmounted under duress? The conditions of the duress do not matter at the moment; this is only a test of possibility.
- Definition Classes
- MountableSpace
- def canBeOccupied: Boolean
Can something be mounted? Use this method as a test for "availability".
Can something be mounted? Use this method as a test for "availability".
- Definition Classes
- MountableSpace
- def canBeOccupiedBy(target: Player): Boolean
Is this specific entity allowed to be mounted in this space? Utiltizes restriction tests, but not "availability" tests.
Is this specific entity allowed to be mounted in this space? Utiltizes restriction tests, but not "availability" tests.
- Definition Classes
- MountableSpace
- See also
MountableDefinition[A].restriction
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def definition: SeatDefinition
The information that establishes the underlying characteristics of this mountable space.
The information that establishes the underlying characteristics of this mountable space.
- Definition Classes
- Seat → MountableSpace
- 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
- def isOccupied: Boolean
Is anything be seated? Do not use this method as a test for "availability".
Is anything be seated? Do not use this method as a test for "availability".
- Definition Classes
- MountableSpace
- def isOccupiedBy(target: Player): Boolean
Is this specific entity currently mounted?
Is this specific entity currently mounted?
- Definition Classes
- MountableSpace
- def mount(target: Option[Player]): Option[Player]
Attempt to mount the target entity in this space.
Attempt to mount the target entity in this space.
- Definition Classes
- MountableSpace
- def mount(target: Player): Option[Player]
Attempt to mount the target entity in this space.
Attempt to mount the target entity in this space.
- Definition Classes
- MountableSpace
- 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 occupant: Option[Player]
A single mounted entity.
- def occupants: List[Player]
A collection of any mounted entity.
A collection of any mounted entity. Useful for compiling all seated users using
flatMap
.- returns
all mounted entities
- Definition Classes
- MountableSpace
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def testToMount(target: Player): Boolean
Tests whether the target is allowed to be mounted.
Tests whether the target is allowed to be mounted.
- Attributes
- protected
- Definition Classes
- Seat → MountableSpace
- See also
MountableSpace[A].canBeOccupiedBy(A)
- def testToUnmount(target: Player): Boolean
Tests whether the target is capable of being unmounted from this place.
Tests whether the target is capable of being unmounted from this place.
- Attributes
- protected
- Definition Classes
- MountableSpace
- See also
MountableSpace[A].isOccupiedBy(A)
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unmount(target: Option[Player], bailType: types.BailType.Value): Option[Player]
Attempt to dismount the target entity from this space.
Attempt to dismount the target entity from this space.
- returns
the current seat occupant, which should be
None
if the operation was successful
- Definition Classes
- MountableSpace
- def unmount(target: Option[Player]): Option[Player]
Attempt to dismount the target entity from this space.
Attempt to dismount the target entity from this space.
- Definition Classes
- MountableSpace
- def unmount(target: Player, bailType: types.BailType.Value): Option[Player]
Attempt to dismount the target entity from this space.
Attempt to dismount the target entity from this space.
- Definition Classes
- MountableSpace
- def unmount(target: Player): Option[Player]
Attempt to dismount the target entity from this space.
Attempt to dismount the target entity from this space.
- Definition Classes
- MountableSpace
- 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()