Пример #1
0
 public QuestTarget(ICounter counter, int questid, QuestPeriod period, int max, int sharedwith = 0, string description = "")
 {
     Counter = counter;
     counter.Increased += Increase;
     QuestId = questid;
     Period = period;
     Progress = new LimitedValue(0, max);
     Description = description;
     sharedwithid = sharedwith;
 }
Пример #2
0
 public QuestTarget(ICounter counter, int questid, QuestPeriod period, int max, int sharedwith = 0, string description = "")
 {
     Counter            = counter;
     counter.Increased += Increase;
     QuestId            = questid;
     Period             = period;
     Progress           = new LimitedValue(0, max);
     Description        = description;
     sharedwithid       = sharedwith;
 }