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