private static void AddAnimations(InoCreator ino) { ino.AddLine("/* Animations */"); // Base Interface ino.YieldHeaderAndSource("animation", new List <string> { "Animation" }); // Needed Helpers ino.AddFileWithoutIncludes(Path.Combine("animation", "Drop.h")); ino.AddFileWithoutIncludes(Path.Combine("animation", "Worm.h")); ino.YieldHeaderAndSource("animation", ChristmasAnimations.Animations); // Animations with non-default constructors ino.YieldHeaderAndSource("animation", new List <string> { "StaticColor" }); }
private static void AddHelpers(InoCreator ino) { ino.AddLine("/* Helper */"); var helpers = new List <string> { "Clear", "ColorManipulation", "BrightnessManipulation", "CrawlDirection", "Crawl", "RandomWalk" }; ino.YieldHeaderAndSource("manipulation", helpers); }