Keyframes are now moveable by dragging them on the real timeline

This commit is contained in:
CrushedPixel
2015-05-22 00:01:50 +02:00
parent 03e176b9ec
commit 9396687802
4 changed files with 50 additions and 13 deletions

View File

@@ -2,7 +2,7 @@ package eu.crushedpixel.replaymod.holders;
public class Keyframe implements Cloneable {
private final int realTimestamp;
private int realTimestamp;
@Override
public Object clone() {
@@ -17,6 +17,8 @@ public class Keyframe implements Cloneable {
return realTimestamp;
}
public void setRealTimestamp(int realTimestamp) { this.realTimestamp = realTimestamp; }
@Override
public boolean equals(Object o2) {
if(o2 == null) return false;