C# Class Workplace

Inheritance: MonoBehaviour, IBuilding, IWorkplace
Datei anzeigen Open project: FlaminJesus/Pharaonic Class Usage Examples

Protected Properties

Property Type Description
listedWorkers List
presentWorkers List

Public Methods

Method Description
CountListedWorkers ( ) : int
GetBuildingType ( ) : Buildingtype
GetJobType ( ) : Buildingtype
GetListedWorkers ( ) : List
GetMaxJobs ( ) : int
GetTransform ( ) : Transform
HasJobsLeft ( ) : bool
RegistrationWorker ( NPC, npc ) : void
RessourceGiver ( float pTime, NPC, pTarget, RessourceType pRessource ) : IEnumerator
SetMaxPresent ( int newMaxPresent ) : void
WorkerAbsent ( NPC, abwesend ) : void
WorkerPresent ( NPC, anwesend ) : void

Method Details

CountListedWorkers() public method

public CountListedWorkers ( ) : int
return int

GetBuildingType() public method

public GetBuildingType ( ) : Buildingtype
return Buildingtype

GetJobType() public method

public GetJobType ( ) : Buildingtype
return Buildingtype

GetListedWorkers() public method

public GetListedWorkers ( ) : List
return List

GetMaxJobs() public method

public GetMaxJobs ( ) : int
return int

GetTransform() public method

public GetTransform ( ) : Transform
return Transform

HasJobsLeft() public method

public HasJobsLeft ( ) : bool
return bool

RegistrationWorker() public method

public RegistrationWorker ( NPC, npc ) : void
npc NPC,
return void

RessourceGiver() public method

public RessourceGiver ( float pTime, NPC, pTarget, RessourceType pRessource ) : IEnumerator
pTime float
pTarget NPC,
pRessource RessourceType
return IEnumerator

SetMaxPresent() public method

public SetMaxPresent ( int newMaxPresent ) : void
newMaxPresent int
return void

WorkerAbsent() public method

public WorkerAbsent ( NPC, abwesend ) : void
abwesend NPC,
return void

WorkerPresent() public method

public WorkerPresent ( NPC, anwesend ) : void
anwesend NPC,
return void

Property Details

listedWorkers protected_oe property

protected List listedWorkers
return List

presentWorkers protected_oe property

protected List presentWorkers
return List