示例#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();
     }
 }
 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;
         }
     }
 }