Allowed GuiTimeline instances to have any height (instead of fixed 22px height) and updated draw() method accordingly
Added HSV noise to GuiTimeline's textures to somewhat hide the repeating body texture Implemented GuiTimeline in GuiObjectManager's GuiObjectKeyframeTimeline Added asInt() method to TimestampValue, to avoid int casts of value field
This commit is contained in:
@@ -12,6 +12,10 @@ public class TimestampValue implements KeyframeValue {
|
||||
@Interpolate
|
||||
public double value;
|
||||
|
||||
public int asInt() {
|
||||
return (int)value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TimestampValue newInstance() {
|
||||
return new TimestampValue();
|
||||
|
||||
Reference in New Issue
Block a user