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