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