Created @Interpolate annotation for Interpolators to know which fields to interpolate (instead of all public fields)
This commit is contained in:
@@ -2,7 +2,7 @@ package eu.crushedpixel.replaymod.interpolation;
|
||||
|
||||
/**
|
||||
* An abstract class that GenericSplineInterpolation can process.
|
||||
* Subclasses simply have to declare at least one <b>public</b> double field,
|
||||
* Subclasses simply have to annotate at least one field with @Interpolate,
|
||||
* and the GenericSplineInterpolation will interpolate these.
|
||||
* <br><br>
|
||||
* It is recommended for KeyframeValue subclasses to have a @NoArgsConstructor annotation.
|
||||
|
||||
Reference in New Issue
Block a user