1 package kaka.cakelight.mode;
3 import kaka.cakelight.Color;
4 import kaka.cakelight.Configuration;
5 import kaka.cakelight.LedFrame;
7 public class SingleColorMode extends Mode {
9 private LedFrame frame;
11 public SingleColorMode(Color c) {
15 private void colorizeFrame() {
16 frame.fillColor(color);
17 updateWithFrame(frame);
21 public void enter(Configuration config) {
22 frame = LedFrame.from(config);
31 public void resume() {