Esempio n. 1
0
 private void ExplodeBanana( Drop BananaDrop )
 {
     //バナナはバナナの周りを消す.バナナでバナナは消えない.
     foreach( Drop drop in allDrops
         .Where( x => x.GetPosF().IsInCircle( BananaDrop.GetPosF(), BananaRadius ) )
         .Where( x => !x.IsBanana() )												 )
     {
         drop.Erase();
         SaveDataManager.Add( SaveDataManager.Key.CharNum );
     }
     BananaDrop.ExplodeBanana();
     SaveDataManager.Add( SaveDataManager.Key.BananaNum );
 }