C# Class Supermarket.StaffManager

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Clarksj4/Theme-Supermarket-Tycoon-World Class Usage Examples

Public Properties

Property Type Description
staffPrefab Staff

Public Methods

Method Description
AddListener ( IStaffManagerListener listener ) : void
Awake ( ) : void
FillHirePool ( ) : void
Hire ( Staff staff ) : void
NotifyStaffFired ( Staff staff ) : void
NotifyStaffHired ( Staff staff ) : void
OnStaffHireCancel ( ) : void
OnStaffHired ( ) : void
RemoveListener ( IStaffManagerListener listener ) : void
Start ( ) : void

Method Details

AddListener() public method

public AddListener ( IStaffManagerListener listener ) : void
listener IStaffManagerListener
return void

Awake() public method

public Awake ( ) : void
return void

FillHirePool() public method

public FillHirePool ( ) : void
return void

Hire() public method

public Hire ( Staff staff ) : void
staff Staff
return void

NotifyStaffFired() public method

public NotifyStaffFired ( Staff staff ) : void
staff Staff
return void

NotifyStaffHired() public method

public NotifyStaffHired ( Staff staff ) : void
staff Staff
return void

OnStaffHireCancel() public method

public OnStaffHireCancel ( ) : void
return void

OnStaffHired() public method

public OnStaffHired ( ) : void
return void

RemoveListener() public method

public RemoveListener ( IStaffManagerListener listener ) : void
listener IStaffManagerListener
return void

Start() public method

public Start ( ) : void
return void

Property Details

staffPrefab public property

public Staff,Supermarket staffPrefab
return Staff