public MannyBrain(Manny manny) { _manny = manny; Condition = new MannyCondition(manny); Condition.Register(Attribute.Food, 30, .1f, "Ik heb trek!"); Condition.Register(Attribute.Coins, 10, 0, "Ik heb geld nodig!"); Condition.Register(Attribute.Thirst, 35, .2f, "Ik heb dorst!"); }
public MannyNotification(Manny manny) { _manny = manny; _notifications = new List <Notification>(); Register(); }
public MannyCondition(Manny manny) { _manny = manny; _conditionCheckers = new Dictionary <Attribute, MannyConditionStatus>(); }