MusicPath.java
601 Bytes
public class MusicPath {
private static final int VERTICAL_DOWN = 0;
private static final int VERTICAL_UP = 1;
private static final int HORIZONTAL_DOWN = 2;
private static final int HORIZONTAL_UP = 3;
private static final int DIAGONAL_TOP_RIGHT_DOWN_LEFT = 4;
private static final int DIAGONAL_TOP_LEFT_DOWN_RIGHT = 5;
private static final int CENTER_OUT = 6;
private static final int CENTER_IN = 7;
private int animation;
public MusicPath(int animation) {
this.animation = animation;
}
// TODO transform music according to animation
// what format ? int[nled][pattern] (ms) ?
}