Exemple #1
0
 public void React()
 {
     if (_storyManager.OnlyCharactersActive(typeof(Grandma), this.GetType()))
     {
         EatPie();
     }
     if (_storyManager.OnlyCharactersActive(typeof(Hunter), this.GetType()))
     {
         Scream();
     }
     if (_storyManager.CharactersActive(typeof(Wolf), this.GetType()))
     {
         GiveWolfFlower();
     }
 }