C# Class ani_GroceryShopping.AniRecipe

Show file Open project: Chain-Reaction/NRaas Class Usage Examples

Public Methods

Method Description
ForcePushFridgeHave ( Sim sim, GameObject objectToFindFridgeRelativeTo, Recipe chosenRecipe, Recipe destination, Recipe quantity, Recipe repetition ) : bool
HasRequiredIngredients ( Recipe recipe, Sim sim ) : bool
UseUpIngredientsFrom ( Recipe recipe, Sim sim, List &chosenIngredients ) : bool

Method Details

ForcePushFridgeHave() public static method

public static ForcePushFridgeHave ( Sim sim, GameObject objectToFindFridgeRelativeTo, Recipe chosenRecipe, Recipe destination, Recipe quantity, Recipe repetition ) : bool
sim Sim
objectToFindFridgeRelativeTo GameObject
chosenRecipe Recipe
destination Recipe
quantity Recipe
repetition Recipe
return bool

HasRequiredIngredients() public static method

public static HasRequiredIngredients ( Recipe recipe, Sim sim ) : bool
recipe Recipe
sim Sim
return bool

UseUpIngredientsFrom() public static method

public static UseUpIngredientsFrom ( Recipe recipe, Sim sim, List &chosenIngredients ) : bool
recipe Recipe
sim Sim
chosenIngredients List
return bool