package interaction
- Alphabetic
- Public
- Protected
Type Members
- final case class Adversarial(attacker: SourceEntry, defender: SourceEntry, implement: Int) extends Product with Serializable
But one thing's sure.
But one thing's sure. The player is hurt, attacked, and somebody's responsible.
- attacker
the source of the damage
- defender
the recipient of the damage
- implement
how the damage was invoked; the object id of the method of punishment, used for reporting
- final case class DamageInteraction(target: SourceEntry, hitPos: Vector3, cause: DamageReason, resolution: base.DamageResolution.Value, hitTime: Long = System.currentTimeMillis()) extends Product with Serializable
The recorded encounter of a damage source and a damageable target.
The recorded encounter of a damage source and a damageable target.
- target
the original affected target; not necessarily the currently affected target
- hitPos
the coordinate location where the damage was inflicted
- cause
the method by which the damage was produced
- resolution
how the damage is being processed
- hitTime
when the interaction originally occurred; defaults to
System.currentTimeMills()
at object creation
- final case class DamageResult(targetBefore: SourceEntry, targetAfter: SourceEntry, interaction: DamageInteraction) extends Product with Serializable
The outcome of the damage interaction, after all the numbers have been processed and properly applied.
Value Members
- object DamageInteraction extends Serializable