public class ArchetypeTypeChecks
extends java.lang.Object
ArchetypeTypes
.Modifier and Type | Method and Description |
---|---|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
addChecks(ArchetypeTypeSet archetypeTypeSet,
AttributeRangeChecker<G,A,R> attributeRangeChecker,
EnvironmentChecker<G,A,R> environmentChecker)
Adds attribute range checks for all defined attributes.
|
public static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> void addChecks(@NotNull ArchetypeTypeSet archetypeTypeSet, @Nullable AttributeRangeChecker<G,A,R> attributeRangeChecker, @NotNull EnvironmentChecker<G,A,R> environmentChecker)
attributeRangeChecker
- the attribute range checker to add toenvironmentChecker
- the environment checker to add to or null
to do nothingarchetypeTypeSet
- the archetype type set to use