Created @Interpolate annotation for Interpolators to know which fields to interpolate (instead of all public fields)

This commit is contained in:
CrushedPixel
2015-07-08 11:43:58 +02:00
parent 64628eaac3
commit 8a973fa3e9
7 changed files with 23 additions and 5 deletions

View File

@@ -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.