protected override void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { this.spriteBatch.Dispose(); } this.disposed = true; } }