Loading...
Searching...
No Matches
CityBuilderCore.PopulationEmployment Class Reference

Detailed Description

helper that EmploymentComponent uses to define which populations and employment groups it used and how many

Public Member Functions

int AssignAvailable (int quantity)
 assigns the quantity needed and returns the rest
 

Public Attributes

EmploymentGroup Group
 
Population Population
 
int Needed
 

Properties

int Available [get]
 
float Rate [get]
 
bool IsFullyStaffed [get]
 

Member Function Documentation

◆ AssignAvailable()

int CityBuilderCore.PopulationEmployment.AssignAvailable ( int quantity)
inline

assigns the quantity needed and returns the rest

Parameters
quantity
Returns