public GameTask(bool isNecessary,
                 string name,
                 string description,
                 PlayerNeeds prices,
                 int authority = 0)
 {
     IsNecessary = isNecessary;
     Name        = name;
     Description = description;
     Prices      = prices;
     Authority   = authority;
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     current     = this;
     hungerLevel = maxHungerLevel;
     thirstLevel = maxThirstLevel;
 }