trait Mountable extends AnyRef
A Trait
common to all game objects that permit players to
interact with established spatial locations external to the object ("mount points") and
attach to the object in internal indices ("seats") for an undefined length of time.
- Source
- Mountable.scala
- See also
Seat
- Alphabetic
- By Inheritance
- Mountable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def Actor: ActorRef
A reference to an
Actor
that governs the logic of the object to acceptMountable
messages.A reference to an
Actor
that governs the logic of the object to acceptMountable
messages. Specifically, theActor
should intercept the logic ofMountableControl.
- returns
the internal
ActorRef
- See also
MountableControl
PlanetSideServerObject.Actor
- abstract def Definition: MountableDefinition
Concrete 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
- def GetSeatFromMountPoint(mountPoint: Int): Option[Int]
Given a mount point index, return the associated mount index.
Given a mount point index, return the associated mount index.
- mountPoint
the mount point
- returns
the mount index
- def MountPoints: Map[Int, MountInfo]
Retrieve a mapping of each mount from its mount point index.
Retrieve a mapping of each mount from its mount point index.
- returns
the mapping of mount point to mount
- def PassengerInSeat(user: Player): Option[Int]
Given a player, determine if that player is seated.
Given a player, determine if that player is seated.
- user
the player
- returns
the mount index
- def Seat(seatNumber: Int): Option[Seat]
Given a mount's index position, retrieve the internal
Seat
object.Given a mount's index position, retrieve the internal
Seat
object.- returns
the specific mount
- def Seats: Map[Int, Seat]
Retrieve a mapping of each mount from its internal index.
Retrieve a mapping of each mount from its internal index.
- returns
the mapping of index to mount
- 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()
- val seats: Map[Int, Seat]
- Attributes
- protected
- 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()