Packages

trait DamageableVehicle extends DamageableEntity

The "control" Actor mixin for damage-handling code for Vehicle objects.

Source
DamageableVehicle.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DamageableVehicle
  2. DamageableEntity
  3. Damageable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def DamageableObject: Vehicle

    Contextual access to the object being the target of this damage.

    Contextual access to the object being the target of this damage. Needs declaration in lowest implementing code.

    returns

    the entity controlled by this actor

    Definition Classes
    DamageableVehicleDamageable

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. def DamageAwareness(target: Target, cause: ResolvedProjectile, amount: Int): Unit

    What happens when damage is sustained but the target does not get destroyed.

    What happens when damage is sustained but the target does not get destroyed.

    target

    the entity being damaged

    cause

    historical information about the damage

    amount

    the amount of damage

    Attributes
    protected
    Definition Classes
    DamageableVehicleDamageableEntity
  5. def DamageLog(target: Target, msg: String): Unit

    Log a damage message with a decorator for this target.

    Log a damage message with a decorator for this target. The decorator is constructed by the Actor name of the entity, sliced after the last forward/slash. For example, for "foo/bar/name", the decorator is just "name".

    target

    the entity to be used for the decorator

    msg

    the message for the damage log

    Attributes
    protected
    Definition Classes
    DamageableEntity
    See also

    PlanetSideServerObject

  6. def DamageLog(msg: String): Unit

    Log a damage message.

    Log a damage message.

    msg

    the message for the damage log

    Attributes
    protected
    Definition Classes
    DamageableEntity
  7. def DestructionAwareness(target: Target, cause: ResolvedProjectile): Unit

    What happens when the target sustains too much damage and is destroyed.

    What happens when the target sustains too much damage and is destroyed.

    target

    the entity being destroyed

    cause

    historical information about the damage

    Attributes
    protected
    Definition Classes
    DamageableVehicleDamageableEntity
    See also

    Damageable.DestructionAwareness

  8. def HandleDamage(target: Target, cause: ResolvedProjectile, damage: Int): Unit

    Select between mere damage reception or target destruction.

    Select between mere damage reception or target destruction.

    target

    the entity being damaged

    cause

    historical information about the damage

    damage

    the amount of damage

    Attributes
    protected
    Definition Classes
    DamageableEntity
    See also

    VitalDefinition.DamageDestroysAt

  9. def PerformDamage(target: Target, applyDamageTo: Output): Unit

    Vehicles may have charged shields that absorb damage before the vehicle's own health is affected.

    Vehicles may have charged shields that absorb damage before the vehicle's own health is affected.

    target

    the entity to be damaged

    applyDamageTo

    the function that applies the damage to the target in a target-tailored fashion

    Attributes
    protected
    Definition Classes
    DamageableVehicleDamageableEntity
  10. def TakesDamage: Receive

    Catch the expected damage message and apply checks to the target.

    Catch the expected damage message and apply checks to the target. If adding custom message handling in an future child implementation, override this method and call super.TakesDamage.orElse { ... }.

    Attributes
    protected
    Definition Classes
    DamageableVehicleDamageableEntityDamageable
    See also

    Damageable.TakesDamage

    ResolutionCalcultions.Output

    Vitality.CanDamage

    Vitality.Damage

  11. def WillAffectTarget(target: Target, damage: Int, cause: ResolvedProjectile): Boolean

    Does the damage or the projectile that caused the damage offer any reason to execute the reminder of damage resolution considerations? The projectile causing additional affects, e.g., jamming, should be tested here, when applicable.

    Does the damage or the projectile that caused the damage offer any reason to execute the reminder of damage resolution considerations? The projectile causing additional affects, e.g., jamming, should be tested here, when applicable. Contrast with Vitality.CanDamage. The damage value tested against should be the total value of all meaningful vital statistics affected.

    target

    the entity to be damaged

    damage

    the amount of damage

    cause

    historical information about the damage

    returns

    true, if damage resolution is to be evaluated; false, otherwise

    Attributes
    protected
    Definition Classes
    DamageableEntity
    See also

    Damageable.CanDamageOrJammer

    PerformDamage

  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. final val takesDamage: Receive

    the official mixin hook; orElse onto the "control" Actor receive

    the official mixin hook; orElse onto the "control" Actor receive

    Definition Classes
    Damageable
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from DamageableEntity

Inherited from Damageable

Inherited from AnyRef

Inherited from Any

Ungrouped