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:
CrushedPixel
2015-07-10 03:36:57 +02:00
parent 5828b04596
commit 30ebfe96bd
7 changed files with 146 additions and 109 deletions

View File

@@ -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();