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