-// console.parseColor(args[0]),
-// console.parseColor(args[1])
+ );
+ }
+ return null;
+ });
+ }
+
+ static Console.Command fireMode() {
+ return modeCommand(new String[] {"f", "fire"}, (console, args) -> {
+ if (args.length > 1) {
+ console.out("setting multi-color fire mode");
+ return new FireMode(Stream.of(args)
+ .map(console::parseColor)
+ .toArray(Color[]::new)