Included Path Interpolation methods in KeyframeList and uses it in PathPreviewRenderer
Created newInstance() method in KeyframeValue interface
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package eu.crushedpixel.replaymod.events;
|
||||
|
||||
import eu.crushedpixel.replaymod.holders.Keyframe;
|
||||
import eu.crushedpixel.replaymod.holders.Position;
|
||||
import eu.crushedpixel.replaymod.holders.TimestampValue;
|
||||
import eu.crushedpixel.replaymod.interpolation.KeyframeList;
|
||||
@@ -14,7 +13,7 @@ import net.minecraftforge.fml.common.eventhandler.Event;
|
||||
@EqualsAndHashCode(callSuper=true)
|
||||
public class KeyframesModifyEvent extends Event {
|
||||
|
||||
private KeyframeList<Keyframe<Position>> positionKeyframes;
|
||||
private KeyframeList<Keyframe<TimestampValue>> timeKeyframes;
|
||||
private KeyframeList<Position> positionKeyframes;
|
||||
private KeyframeList<TimestampValue> timeKeyframes;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user