trait Vitality extends InGameHistory
A vital object can be hurt or damaged or healed or repaired (HDHR). The amount of HDHR is controlled by the damage model of this vital object reacting to stimulus. The damage model is provided.
- Source
- Vitality.scala
- Alphabetic
- By Inheritance
- Vitality
- InGameHistory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def DamageModel: DamageAndResistance
- abstract def Definition: VitalityDefinition
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 CanDamage: Boolean
- def CanRepair: Boolean
- def ClearHistory(): List[InGameActivity]
- Definition Classes
- InGameHistory
- def DefaultHealth: Int
- def Health: Int
- def Health_=(assignHealth: Int): Int
- def History: List[InGameActivity]
- Definition Classes
- InGameHistory
- def LastDamage: Option[DamageResult]
- Definition Classes
- InGameHistory
- def LastShot: Option[DamageResult]
Find, specifically, the last instance of a weapon discharge that caused damage.
Find, specifically, the last instance of a weapon discharge that caused damage.
- returns
information about the discharge
- Definition Classes
- InGameHistory
- def LogActivity(result: DamageResult): List[InGameActivity]
Very common example of a
VitalsActivity
event involving damage.Very common example of a
VitalsActivity
event involving damage. They are repackaged before submission and are often tagged for specific blame.- result
the fully-informed entry
- returns
the list of previous changes to this object's vital statistics
- Definition Classes
- InGameHistory
- def LogActivity(action: Option[InGameActivity]): List[InGameActivity]
An in-game event must be recorded.
An in-game event must be recorded. Add new entry to the front of the list (for recent activity).
- action
the fully-informed entry
- returns
the list of previous changes to this entity
- Definition Classes
- InGameHistory
- def LogActivity(action: InGameActivity): List[InGameActivity]
An in-game event must be recorded.
An in-game event must be recorded. Add new entry to the front of the list (for recent activity).
- action
the fully-informed entry
- returns
the list of previous changes to this entity
- Definition Classes
- InGameHistory
- def MaxHealth: Int
- def MaxHealth_=(default: Option[Int]): Int
- def MaxHealth_=(default: Int): Int
- def VitalsHistory(): List[VitalsActivity]
Only the changes to vitality statistics.
Only the changes to vitality statistics.
- returns
a list of the chronologically-consistent vitality events
- Definition Classes
- InGameHistory
- 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()
- 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()