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
@@ -9,8 +9,10 @@ import com.google.gson.JsonSerializationContext;
|
||||
import com.google.gson.JsonSerializer;
|
||||
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.CameraShakeKeyframeType;
|
||||
import com.moulberry.flashback.spline.CatmullRom;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
@@ -34,6 +36,11 @@ public class CameraShakeKeyframe extends Keyframe {
|
||||
this.interpolationType(interpolationType);
|
||||
}
|
||||
|
||||
@Override
|
||||
public KeyframeType<?> keyframeType() {
|
||||
return CameraShakeKeyframeType.INSTANCE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Keyframe copy() {
|
||||
return new CameraShakeKeyframe(this.frequencyX, this.amplitudeX, this.frequencyY, this.amplitudeY, this.interpolationType());
|
||||
|
||||
Reference in new issue
Block a user