public void Blit(Surface Source, Rectangle rec) { if (!_can_Update) { throw new StormLib.Exceptions.LogicException("Surface cannot be updated at this time!"); } _graphics.SpriteBatch.Draw(Source._target, rec.ToRender(), XColor.White); }
public void Render(Rectangle rec) { if (_can_Update) { throw new StormLib.Exceptions.LogicException("Surface changes must be disabled!"); } _graphics.SpriteBatch.Draw(_target, rec.ToRender(), XColor.White); }