X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fkaka%2Fcakelight%2Fmode%2FTwoColorNoiseMode.java;h=7e3970550371393be6c306eaee69760be420640a;hb=2b49e4e255f8591fb730f88e71b6b006008ccd3d;hp=1ebb93021fd569fa492d05f062b328ea7b428399;hpb=baaaa10bd2e30428f8ca0f04855a24138e70d097;p=kaka%2Fcakelight.git diff --git a/src/kaka/cakelight/mode/TwoColorNoiseMode.java b/src/kaka/cakelight/mode/TwoColorNoiseMode.java index 1ebb930..7e39705 100644 --- a/src/kaka/cakelight/mode/TwoColorNoiseMode.java +++ b/src/kaka/cakelight/mode/TwoColorNoiseMode.java @@ -1,7 +1,6 @@ package kaka.cakelight.mode; import kaka.cakelight.Color; -import kaka.cakelight.Console; import kaka.cakelight.LedFrame; import kaka.cakelight.util.SimplexNoise3D; @@ -9,23 +8,6 @@ public class TwoColorNoiseMode extends AmbientMode { private final Color primary, secondary; private SimplexNoise3D noise = new SimplexNoise3D(0); - public static Console.Command getCommand() { - return new Console.Command() { - public String[] getNames() { - return new String[] {"n", "noise"}; - } - - public void activate(Console console, String[] args) { - if (args.length == 3) { // cmd + col1 + col2 - console.getCakelight().setMode(new TwoColorNoiseMode( - parseColor(args[1]), - parseColor(args[2]) - )); - } - } - }; - } - public TwoColorNoiseMode(Color primary, Color secondary) { this.primary = primary; this.secondary = secondary;