class Cargo extends AnyRef
- Alphabetic
- By Inheritance
- Cargo
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Cargo(cargoDef: CargoDefinition)
- cargoDef
the Definition that constructs this item and maintains some of its unchanging fields
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 Bailable: Boolean
- def CargoRestriction: CargoVehicleRestriction.Value
- def Occupant: Option[Vehicle]
Is the cargo hold occupied?
Is the cargo hold occupied?
- returns
The vehicle in the cargo hold, or
Noneif it is left vacant
- def Occupant_=(vehicle: Option[Vehicle]): Option[Vehicle]
- 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
Noneif the vehicle is leaving- returns
the vehicle sitting in this seat, or
Noneif it is left vacant
- 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
- def isOccupied: Boolean
Is this cargo hold occupied?
Is this cargo hold occupied?
- returns
true, if it is occupied;false, otherwise
- 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
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
- 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()