/// <summary> /// Called once per frame, right after Update. Avoid putting game logic in here. /// </summary> public virtual void Draw(RenderTarget rt) { if (Map != null) { Map.Draw(rt); } Entities.Draw(rt); }
/// <summary> /// Called once per frame, right after Update. Avoid putting game login in here. /// </summary> /// <param name="rt"></param> public virtual void Draw(RenderTarget rt) { Camera.Apply(rt); if (Map != null) { Map.Draw(rt); } Entities.Draw(rt); }