package resistance
- Alphabetic
- Public
- Protected
Type Members
- abstract class ResistanceCalculations[TargetType] extends AnyRef
The base for function literal description related to calculating resistance information.
The base for function literal description related to calculating resistance information. This glue connects target validation to value extraction to avoid the possibility of
NullPointerException
andClassCastException
. Some different types of vital objects store their resistance values in different places.- TargetType
an internal type that converts between
validate
's output andextractor
's input; in essence, should match the type of object container to which these resistances belong; never has to be defined explicitly but will be checked at compile time
- trait ResistanceProfile extends AnyRef
The different values for four common methods of modifying incoming damage.
The different values for four common methods of modifying incoming damage. Two of the four resistances are directly paired with forms of incoming damage. This is for defining pure accessor functions.
- trait ResistanceProfileMutators extends ResistanceProfile
The different values for four common methods of modifying incoming damage.
The different values for four common methods of modifying incoming damage. Two of the four resistances are directly paired with forms of incoming damage. This is for defining both accessor and mutator functions.
- trait ResistanceSelection extends AnyRef
Maintain information about four primary forms of resistance calculation and a means to test which calculation is valid in a given situation.
- trait StandardResistanceProfile extends ResistanceProfile
The different values for four common methods of modifying incoming damage.
The different values for four common methods of modifying incoming damage. Two of the four resistances are directly paired with forms of incoming damage. This is for defining pure accessor functions, based on the assumption that the implementing object's
Definition
is the primaryResistanceProfile
.
Value Members
- object ResistanceCalculations
- object ResistanceSelection