예제 #1
0
 public void Draw(Renderer2D renderer)
 {
     renderer.BeginScene(currLevel.Camera.get_transformation());
     renderer.DrawEntity(top);
     renderer.DrawEntity(left);
     renderer.DrawEntity(bottom);
     renderer.DrawEntity(right);
     renderer.EndScene();
 }
예제 #2
0
파일: Level.cs 프로젝트: rubedo19/InShadows
 public void Draw(Renderer2D renderer)
 {
     renderer.BeginScene(camera.get_transformation());
     foreach (Entity e in entities)
     {
         renderer.DrawEntity(e);
     }
     renderer.DrawEntity(player);
     renderer.EndScene();
 }