C# Класс Workplace

Наследование: MonoBehaviour, IBuilding, IWorkplace
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
listedWorkers List
presentWorkers List

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

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

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

CountListedWorkers() публичный Метод

public CountListedWorkers ( ) : int
Результат int

GetBuildingType() публичный Метод

public GetBuildingType ( ) : Buildingtype
Результат Buildingtype

GetJobType() публичный Метод

public GetJobType ( ) : Buildingtype
Результат Buildingtype

GetListedWorkers() публичный Метод

public GetListedWorkers ( ) : List
Результат List

GetMaxJobs() публичный Метод

public GetMaxJobs ( ) : int
Результат int

GetTransform() публичный Метод

public GetTransform ( ) : Transform
Результат Transform

HasJobsLeft() публичный Метод

public HasJobsLeft ( ) : bool
Результат bool

RegistrationWorker() публичный Метод

public RegistrationWorker ( NPC, npc ) : void
npc NPC,
Результат void

RessourceGiver() публичный Метод

public RessourceGiver ( float pTime, NPC, pTarget, RessourceType pRessource ) : IEnumerator
pTime float
pTarget NPC,
pRessource RessourceType
Результат IEnumerator

SetMaxPresent() публичный Метод

public SetMaxPresent ( int newMaxPresent ) : void
newMaxPresent int
Результат void

WorkerAbsent() публичный Метод

public WorkerAbsent ( NPC, abwesend ) : void
abwesend NPC,
Результат void

WorkerPresent() публичный Метод

public WorkerPresent ( NPC, anwesend ) : void
anwesend NPC,
Результат void

Описание свойств

listedWorkers защищенное свойство

protected List listedWorkers
Результат List

presentWorkers защищенное свойство

protected List presentWorkers
Результат List