C# Class ani_GroceryShopping.OverridedFridge_Have

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

Public Properties

Property Type Description
Singleton InteractionDefinition

Public Methods

Method Description
ChooseRandomSnack ( Sim sim, bool lotHasCounter, bool lotHasMicrowave, Predicate condition, bool forTesting ) : Recipe
ChooseRecipeRandomly ( Lot lotToCookOn, Sim sim, Recipe quantity, bool forTesting ) : Recipe
Initialize ( InteractionInstanceParameters &parameters ) : void
Run ( ) : bool

Method Details

ChooseRandomSnack() public static method

public static ChooseRandomSnack ( Sim sim, bool lotHasCounter, bool lotHasMicrowave, Predicate condition, bool forTesting ) : Recipe
sim Sim
lotHasCounter bool
lotHasMicrowave bool
condition Predicate
forTesting bool
return Recipe

ChooseRecipeRandomly() public static method

public static ChooseRecipeRandomly ( Lot lotToCookOn, Sim sim, Recipe quantity, bool forTesting ) : Recipe
lotToCookOn Lot
sim Sim
quantity Recipe
forTesting bool
return Recipe

Initialize() public method

public Initialize ( InteractionInstanceParameters &parameters ) : void
parameters InteractionInstanceParameters
return void

Run() public method

public Run ( ) : bool
return bool

Property Details

Singleton public static property

public static InteractionDefinition Singleton
return InteractionDefinition