Added a custom Color class
[kaka/cakelight.git] / src / kaka / cakelight / Mode.java
CommitLineData
4a2d6056
TW
1package kaka.cakelight;
2
03b67a73
TW
3import java.util.function.Consumer;
4
5public abstract class Mode {
6 protected Consumer<LedFrame> frameListener;
7
8 public abstract void enter(Configuration config);
9 public abstract void exit();
10
11 public void setFrameListener(Consumer<LedFrame> listener) {
12 frameListener = listener;
13 }
4a2d6056 14}