Packages

trait BuildingLogic extends AnyRef

Logic that dictates what happens to a particular type of building when it receives certain messages on its governing control. Try not to transform this into instance classes.

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

Abstract Value Members

  1. abstract def alertToFactionChange(details: BuildingWrapper, building: Building): Behavior[Command]

    A facility that influences this facility has changed its faction affiliation.

    A facility that influences this facility has changed its faction affiliation. Update all related subsystems and statuses of this facility.

    details

    package class that conveys the important information

    building

    the neighbor facility that has had its faction changed

    returns

    the next behavior for this control agency messaging system

  2. abstract def amenityStateChange(details: BuildingWrapper, entity: Amenity, data: Option[Any]): Behavior[Command]

    Update the status of the relationship between a component installed in a facility and the facility's status itself.

    Update the status of the relationship between a component installed in a facility and the facility's status itself.

    details

    package class that conveys the important information

    entity

    the installed Amenity entity

    data

    optional information

    returns

    the next behavior for this control agency messaging system

  3. abstract def ntu(details: BuildingWrapper, msg: Command): Behavior[Command]

    The facility has had its nanite resources changed in some way.

    The facility has had its nanite resources changed in some way. Update all related subsystems and statuses of this facility.

    details

    package class that conveys the important information

    msg

    the original message that instigated this upoate

    returns

    the next behavior for this control agency messaging system

    See also

    NtuCommand.Command

  4. abstract def ntuDepleted(details: BuildingWrapper): Behavior[Command]

    The facility has run out of nanite resources.

    The facility has run out of nanite resources. Update all related subsystems and statuses.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

  5. abstract def powerOff(details: BuildingWrapper): Behavior[Command]

    The facility has lost power.

    The facility has lost power. Update all related subsystems and statuses.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

  6. abstract def powerOn(details: BuildingWrapper): Behavior[Command]

    The facility has regained power.

    The facility has regained power. Update all related subsystems and statuses.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

  7. abstract def setFactionTo(details: BuildingWrapper, faction: types.PlanetSideEmpire.Value): Behavior[Command]

    The facility will change its faction affiliation.

    The facility will change its faction affiliation. Update all related subsystems and statuses.

    details

    package class that conveys the important information

    faction

    the faction affiliation to which the facility will update

    returns

    the next behavior for this control agency messaging system

  8. abstract def suppliedWithNtu(details: BuildingWrapper): Behavior[Command]

    The facility has had its nanite resources restored, even if partially.

    The facility has had its nanite resources restored, even if partially. Update all related subsystems and statuses.

    details

    package class that conveys the important information

    returns

    the next behavior for this control agency messaging system

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def log(details: BuildingWrapper): Logger

    Produce a log that borrows from the building name.

    Produce a log that borrows from the building name.

    details

    package class that conveys the important information

    returns

    the custom log

    Attributes
    protected
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. def wrapper(building: Building, context: ActorContext[Command], details: BuildingControlDetails): BuildingWrapper

    Produce an appropriate representation of the facility for the given logic implementation.

    Produce an appropriate representation of the facility for the given logic implementation.

    building

    building entity

    context

    message-passing reference

    details

    temporary storage to retain still-allocating reousces during facility startup

    returns

    the representation of the building and assorted connecting and reporting outlets

Inherited from AnyRef

Inherited from Any

Ungrouped