class Cargo extends AnyRef

Server-side support for a slot that vehicles can occupy

Source
Cargo.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cargo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Cargo(cargoDef: CargoDefinition)

    cargoDef

    the Definition that constructs this item and maintains some of its unchanging fields

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def Bailable: Boolean
  5. def CargoRestriction: CargoVehicleRestriction.Value
  6. def Occupant: Option[Vehicle]

    Is the cargo hold occupied?

    Is the cargo hold occupied?

    returns

    The vehicle in the cargo hold, or None if it is left vacant

  7. def Occupant_=(vehicle: Option[Vehicle]): Option[Vehicle]
  8. def Occupant_=(vehicle: Vehicle): Option[Vehicle]

    A vehicle is trying to board the cargo hold Cargo holds are exclusive positions that can only hold one vehicle at a time.

    A vehicle is trying to board the cargo hold Cargo holds are exclusive positions that can only hold one vehicle at a time.

    vehicle

    the vehicle boarding the cargo hold, or None if the vehicle is leaving

    returns

    the vehicle sitting in this seat, or None if it is left vacant

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isOccupied: Boolean

    Is this cargo hold occupied?

    Is this cargo hold occupied?

    returns

    true, if it is occupied; false, otherwise

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String

    Override the string representation to provide additional information.

    Override the string representation to provide additional information.

    returns

    the string output

    Definition Classes
    Cargo → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped