Class AttributeLevels
java.lang.Object
fr.andross.banitem.utils.attributes.AttributeLevels
An attribute wrapper class that stores the levels and the comparator in which the attribute must match
- Version:
- 3.4
- Author:
- EpiCanard
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enum to define how to compare attribute levels -
Constructor Summary
ConstructorDescriptionAttributeLevels
(Double level, AttributeLevels.Comparator comparator) AttributeLevels
(Double minLevel, Double maxLevel) -
Method Summary
-
Constructor Details
-
AttributeLevels
-
AttributeLevels
-
-
Method Details
-
matches
Define if the param level match with the attribute levels- Parameters:
level
- Level to check if it matches- Returns:
- if the input level match
-