Exemplo n.º 1
0
 override public bool canAcceptFood(FoodProperty property)
 {
     if (property.GetPropertyBool(FoodProperty.PropertyBool.Oriental) == true)
     {
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
 override public bool canAcceptFood(FoodProperty property)
 {
     if (property.GetPropertyBool(FoodProperty.PropertyBool.Vegetables) == true && property.GetProperty(FoodProperty.Property.Greasiness) >= 5)
     {
         return(true);
     }
     return(false);
 }