Exemplo n.º 1
0
        public void Collect(object sender, QuestCompletedEventArgs args)
        {
            foreach (IItem item in args.ItemRewards)
            {
                Validator.ValidateItem(item);

                this.inventory.BackPack.LootItem(item);
            }

            this.GainExperience(args.Experience);
        }
Exemplo n.º 2
0
 private void OnQuestCompleted(QuestCompletedEventArgs args)
 {
     this.QuestCompleted?.Invoke(this, args);
 }