Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public void Draw(Renderer2D renderer)
 {
     renderer.BeginScene(camera.get_transformation());
     foreach (Entity e in entities)
     {
         renderer.DrawEntity(e);
     }
     renderer.DrawEntity(player);
     renderer.EndScene();
 }