mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
0.3.0
This commit is contained in:
1 parent
d2a217509f
commit
4d8f896cdf
90 files changed
+2345
-720
No files matched your search
@@ -3,8 +3,10 @@ package com.moulberry.flashback.keyframe.impl;
|
||||
import com.google.gson.*;
|
||||
import com.moulberry.flashback.Interpolation;
|
||||
import com.moulberry.flashback.keyframe.Keyframe;
|
||||
import com.moulberry.flashback.keyframe.KeyframeType;
|
||||
import com.moulberry.flashback.keyframe.handler.KeyframeHandler;
|
||||
import com.moulberry.flashback.keyframe.interpolation.InterpolationType;
|
||||
import com.moulberry.flashback.keyframe.types.SpeedKeyframeType;
|
||||
import com.moulberry.flashback.spline.CatmullRom;
|
||||
import imgui.ImGui;
|
||||
|
||||
@@ -24,6 +26,11 @@ public class TickrateKeyframe extends Keyframe {
|
||||
this.interpolationType(interpolationType);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KeyframeType<?> keyframeType() {
|
||||
return SpeedKeyframeType.INSTANCE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Keyframe copy() {
|
||||
return new TickrateKeyframe(this.tickrate, this.interpolationType());
|
||||
|
||||
Reference in new issue
Block a user