Example #1
0
 override public bool canAcceptFood(FoodProperty property)
 {
     if (property.GetPropertyBool(FoodProperty.PropertyBool.Oriental) == true)
     {
         return(true);
     }
     return(false);
 }
Example #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);
 }