예제 #1
0
파일: Scene.cs 프로젝트: dea6cat/Woofer
 public void Draw <TSurface, TSource>(ScreenRenderer <TSurface, TSource> screenRenderer)
 {
     //Console.WriteLine("render");
     Systems.InvokeRender(screenRenderer);
 }
예제 #2
0
파일: Scene.cs 프로젝트: dncep/Woofer
 /// <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);
 }