public void Draw <TSurface, TSource>(ScreenRenderer <TSurface, TSource> screenRenderer) { //Console.WriteLine("render"); Systems.InvokeRender(screenRenderer); }
/// <summary> /// Called when the scene should draw itself /// </summary> /// <typeparam name="TSurface">The screen renderer's Surface type</typeparam> /// <typeparam name="TSource">The screen renderer's Source type</typeparam> /// <param name="screenRenderer">The screen renderer onto which to draw the scene</param> public void Draw <TSurface, TSource>(ScreenRenderer <TSurface, TSource> screenRenderer) { Systems.Flush(); Systems.InvokeRender(screenRenderer); }