Exemplo n.º 1
0
 void OnPoked(bool blocked)
 {
     if (blocked)
     {
         Debug.Log("The " + ninjaBehaviour.Color + " ninja was Poked, but the attack was thwarted!");
         ninjaBehaviour.YouJustGotHit(0);
     }
     else
     {
         Debug.Log("The " + ninjaBehaviour.Color + " ninja was Poked, and bled precious red stuff!");
         ninjaBehaviour.YouJustGotHit(5);
         //Flash();
     }
 }