Пример #1
0
 public void Update(IQuest quest, ref World world, GameTime gameTime)
 {
     if (_foundItem)
     {
         Announcer.Instance.Announce("You find the cursed doll and complete your quest!", MessageTypes.QuestInformation);
         quest.QuestCompleted();
     }
 }
Пример #2
0
 public void Update(IQuest quest, ref World world, GameTime gameTime)
 {
     if (_foundItem)
     {
         Announcer.Instance.Announce("You find the cursed doll and complete your quest!", MessageTypes.QuestInformation);
         quest.QuestCompleted();
     }
 }
Пример #3
0
 public void Update(IQuest quest, ref World world, GameTime gameTime)
 {
     if (_targetKilled)
     {
         Announcer.Instance.Announce("You destroy the plant and complete your quest!", MessageTypes.QuestInformation);
         quest.QuestCompleted();
     }
     else if (_targetSpotted == false)
     {
         if (world.CanPlayerSeeWorldIndex(_target.WorldIndex))
         {
             Announcer.Instance.Announce("The great beast lurks before you. Your moment of victory is at hand!", MessageTypes.QuestInformation);
             _targetSpotted = true;
         }
     }
 }
Пример #4
0
 public void Update(IQuest quest, ref World world, GameTime gameTime)
 {
     if (_targetKilled)
     {
         Announcer.Instance.Announce("You destroy the plant and complete your quest!", MessageTypes.QuestInformation);
         quest.QuestCompleted();
     }
     else if (_targetSpotted == false)
     {
         if (world.CanPlayerSeeWorldIndex(_target.WorldIndex))
         {
             Announcer.Instance.Announce("The great beast lurks before you. Your moment of victory is at hand!", MessageTypes.QuestInformation);
             _targetSpotted = true;
         }
     }
 }