Ejemplo n.º 1
0
 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!");
 }
Ejemplo n.º 2
0
 public MannyNotification(Manny manny)
 {
     _manny         = manny;
     _notifications = new List <Notification>();
     Register();
 }
Ejemplo n.º 3
0
 public MannyCondition(Manny manny)
 {
     _manny             = manny;
     _conditionCheckers = new Dictionary <Attribute, MannyConditionStatus>();
 }