}
}
+ /**
+ * Returns the GUI.
+ * @return the GUI
+ */
+ public static MooGUI getGUI() {
+ return gui;
+ }
+
/**
* Returns the current sequence.
* @return the current sequence
* @param measures the number of measures to rewind
*/
public static void rewind(long ticks) {
- position -= ticks;
+ setPosition(position - ticks);
}
/**
* @param measures the number of measures to fast forward
*/
public static void forward(long ticks) {
- position += ticks;
+ setPosition(position + ticks);
}
/**