Exemple #1
0
 public void Draw(SpriteBatch sb)
 {
     if (ballAttack != null && !ballAttack.IsEmpty)
     {
         ballAttack.Draw(sb);
     }
     if (player.State == PlayerState.FALLING)
     {
         selector.Draw(sb);
     }
     if (player.State == PlayerState.LEVITATING)
     {
         cloud.Draw(sb);
     }
 }