Packages

package interaction

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. 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

  2. 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

  3. 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

  1. object DamageInteraction extends Serializable

Ungrouped