Included Path Interpolation methods in KeyframeList and uses it in PathPreviewRenderer
Created newInstance() method in KeyframeValue interface
This commit is contained in:
@@ -7,9 +7,14 @@ import lombok.NoArgsConstructor;
|
||||
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class TimestampValue extends KeyframeValue {
|
||||
public class TimestampValue implements KeyframeValue {
|
||||
|
||||
@Interpolate
|
||||
public double value;
|
||||
|
||||
@Override
|
||||
public TimestampValue newInstance() {
|
||||
return new TimestampValue();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user