Table of Contents

COMP_VILLAGER

Category: Component

Parent class: COMPONENT

Lazy-init

Functions


getJobInstance

JOB_INSTANCE getJobInstance()


findDisplayJobInstance

JOB_INSTANCE findDisplayJobInstance()


changeJob

void changeJob(job [, workplace])

Name Type Description
job JOB
workplace COMP_WORKPLACE

getAssetJob

JOB getAssetJob()


hasJob

boolean hasJob()


getDeceasedData

DECEASED_VILLAGER_DATA getDeceasedData()

Events


ON_JOB_CHANGED

ON_JOB_CHANGED()


ON_JOB_ASSIGNED

ON_JOB_ASSIGNED()