public void Dispose() { death?.Dispose(); Paddle?.Dispose(); Goal?.Dispose(); }
public void Draw(SpriteBatch spriteBatch, int width) { Paddle.Draw(spriteBatch); Goal.Draw(spriteBatch, width); PlayerStats.Draw(spriteBatch); }
public void Dispose() { death?.Dispose(); Paddle?.Dispose(); Goal?.Dispose(); }
public void Draw(SpriteBatch spriteBatch, int width) { Paddle.Draw(spriteBatch); Goal.Draw(spriteBatch, width); PlayerStats.Draw(spriteBatch); }