Пример #1
0
 public void BossEnemyCollide()
 {
     if (block.BType != BlockType.Indestructible)
     {
         block.ChangeToDestroyed();
     }
 }
Пример #2
0
 public void Handle(Blocks brick)
 {
     mario = Sprint5Main.Game.Scene.Mario;
     if (mario.IsSuper && brick.BType == BlockType.BNormal)
     {
         brick.ChangeToDestroyed();
     }
     else
     {
         brick.Bumping();
     }
 }