Class

net.psforever.objects.vital.resolution

DamageResistCalculations

Related Doc: package resolution

Permalink

abstract class DamageResistCalculations[A] extends ResolutionCalculations

A specific implementation of ResolutionCalculations that deals with the damage value and the resistance value in a specific manner. (The input type of the function literal output of calcFunc.)

A

an internal type that converts between calcFunc's output and applyFunc's input; never has to be defined explicitly, but will be checked upon object definition

Source
DamageResistCalculations.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DamageResistCalculations
  2. ResolutionCalculations
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DamageResistCalculations(calcFunc: (ResolvedProjectile) ⇒ (Int, Int) ⇒ A, applyFunc: (A, ResolvedProjectile) ⇒ Output)

    Permalink

    calcFunc

    a function literal that retrieves the function that factors the affects of damage and resistance values

    applyFunc

    a function literal that applies the final modified values to a target object

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to any2stringadd[DamageResistCalculations[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DamageResistCalculations[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to ArrowAssoc[DamageResistCalculations[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def Calculate(damages: Form, resistances: Form, data: ResolvedProjectile): Output

    Permalink

    The exposed entry for the calculation function literal defined by this base.

    The exposed entry for the calculation function literal defined by this base.

    damages

    the function literal that accumulates and calculates damages

    resistances

    the function literal that collects resistance values

    data

    the historical ResolvedProjectile information

    returns

    a function literal that encapsulates delayed modification instructions for certain objects

    Definition Classes
    DamageResistCalculationsResolutionCalculations
  7. def Sample(damages: Form, resistances: Form, data: ResolvedProjectile): A

    Permalink

    An intermediate step of the normal Calculate operation that retrieves the damage values in their transitory form.

    An intermediate step of the normal Calculate operation that retrieves the damage values in their transitory form.

    damages

    the function that calculations raw damage values

    resistances

    the function that calculates resistance values

    data

    a historical projectile interaction; the origin of the data used to extract damage and resistance values

    returns

    the transitory form of the modified damage(s); usually, a single Int value or a tuple of Int values

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (DamageResistCalculations[A]) ⇒ Boolean, msg: ⇒ Any): DamageResistCalculations[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to Ensuring[DamageResistCalculations[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (DamageResistCalculations[A]) ⇒ Boolean): DamageResistCalculations[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to Ensuring[DamageResistCalculations[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): DamageResistCalculations[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to Ensuring[DamageResistCalculations[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): DamageResistCalculations[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to Ensuring[DamageResistCalculations[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to StringFormat[DamageResistCalculations[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def [B](y: B): (DamageResistCalculations[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DamageResistCalculations[A] to ArrowAssoc[DamageResistCalculations[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ResolutionCalculations

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DamageResistCalculations[A] to any2stringadd[DamageResistCalculations[A]]

Inherited by implicit conversion StringFormat from DamageResistCalculations[A] to StringFormat[DamageResistCalculations[A]]

Inherited by implicit conversion Ensuring from DamageResistCalculations[A] to Ensuring[DamageResistCalculations[A]]

Inherited by implicit conversion ArrowAssoc from DamageResistCalculations[A] to ArrowAssoc[DamageResistCalculations[A]]

Ungrouped