Class ChangingSpread.Bounds
java.lang.Object
me.deecaad.weaponmechanics.weapon.shoot.spread.ChangingSpread.Bounds
- All Implemented Interfaces:
me.deecaad.core.file.Serializer<ChangingSpread.Bounds>
- Enclosing class:
ChangingSpread
public static class ChangingSpread.Bounds
extends Object
implements me.deecaad.core.file.Serializer<ChangingSpread.Bounds>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckBounds(HandData handData, double startingAmount) Checks bounds of spreadserialize(me.deecaad.core.file.SerializeData data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.deecaad.core.file.Serializer
canUsePathTo, getKeyword, getName, getParentKeywords, getWikiLink, letPassThrough, shouldSerialize, tryPathTo, useLater
-
Constructor Details
-
Bounds
public Bounds()Default constructor for serializer -
Bounds
public Bounds(boolean resetAfterReachingBound, double min, double max)
-
-
Method Details
-
checkBounds
Checks bounds of spread- Returns:
- whether the spread change was reset
-
serialize
@NotNull public ChangingSpread.Bounds serialize(@NotNull me.deecaad.core.file.SerializeData data) throws me.deecaad.core.file.SerializerException - Specified by:
serializein interfaceme.deecaad.core.file.Serializer<ChangingSpread.Bounds>- Throws:
me.deecaad.core.file.SerializerException
-