Пример #1
0
        static void Main()
        {
            var entities = new EntitySet();
            var screen   = new ScreenConfig(32, 32);
            var systems  = new SystemSet();

            systems.Add(new DirectRenderSystem());
            systems.Add(new RenderToFileSystem(screen, new RenderToFileConfig("frame_{0}.png")));
            systems.UpdateOnce(entities);
        }