C# Class Supermarket.AddToCart

Customer state for adding a particular product from a particular shelf to the customers inventory.
Inheritance: CustomerState
Exibir arquivo Open project: Clarksj4/Theme-Supermarket-Tycoon-World

Public Methods

Method Description
AddToCart ( Customer customer, string desiredProduct, Shelf shelf ) : UnityEngine
AnimationComplete ( ) : void
DestinationReached ( ) : void
Initialize ( ) : void
OnInteract ( InteractionZone other ) : void

Method Details

AddToCart() public method

public AddToCart ( Customer customer, string desiredProduct, Shelf shelf ) : UnityEngine
customer Customer
desiredProduct string
shelf Shelf
return UnityEngine

AnimationComplete() public method

public AnimationComplete ( ) : void
return void

DestinationReached() public method

public DestinationReached ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

OnInteract() public method

public OnInteract ( InteractionZone other ) : void
other InteractionZone
return void