예제 #1
0
 private void OnPowerUpBlinkerDied(BlinkerEffect blinker)
 {
     if (blinker.IsInsideTree())
     {
         _ghost   = _invincible = false;
         Modulate = BasicModulate;
     }
 }
예제 #2
0
 private void OnRecoveryBlinkerDied(BlinkerEffect blinker)
 {
     if (blinker.IsInsideTree())
     {
         _recovering     = false;
         _spriteTrail.On = true;
         if (IsPoweredUp == false)
         {
             Modulate = BasicModulate;
         }
     }
 }