C# Класс ani_GroceryShopping.AniRecipe

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ForcePushFridgeHave() публичный статический Метод

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
Результат bool

HasRequiredIngredients() публичный статический Метод

public static HasRequiredIngredients ( Recipe recipe, Sim sim ) : bool
recipe Recipe
sim Sim
Результат bool

UseUpIngredientsFrom() публичный статический Метод

public static UseUpIngredientsFrom ( Recipe recipe, Sim sim, List &chosenIngredients ) : bool
recipe Recipe
sim Sim
chosenIngredients List
Результат bool