C# 클래스 Workplace

상속: MonoBehaviour, IBuilding, IWorkplace
파일 보기 프로젝트 열기: FlaminJesus/Pharaonic 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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