16 lines
225 B
C
16 lines
225 B
C
// state machine
|
|
// List animations here
|
|
|
|
typedef enum STATE {
|
|
CHASETHEDOT,
|
|
RAINBOWRANDOM,
|
|
TUNNEL,
|
|
SHIFTSQUARES,
|
|
FOUNTAIN,
|
|
RAINBOWCORNER,
|
|
PLANARFLOP3D
|
|
};
|
|
|
|
STATE currentState, lastState;
|
|
|
|
bool timerReset = true;
|