public override void Draw() { var spriteBatch = GameManager.SpriteBatch; RealTimeDebug.Append("Player Position", Player.Position); RealTimeDebug.Append("Animation", Player.CurrentAnimation); spriteBatch.Begin(transformMatrix: GameManager.MainCamera.TranslationMatrix); GameManager.LevelManager.Draw(spriteBatch); Player.Draw(spriteBatch); spriteBatch.End(); }
public override void Draw() { var spriteBatch = GameManager.SpriteBatch; if (GameManager.ShowDebugInfo) { RealTimeDebug.Append("File Selector Dimensions", _fileSelector.AbsoluteDimensions); } spriteBatch.Begin(transformMatrix: GameManager.MainCamera.TranslationMatrix); GameManager.LevelManager.Draw(spriteBatch); spriteBatch.Draw(_cursorTexture, _editorCursor.MousePosition, Color.White); spriteBatch.End(); }