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

Detailed Description

container that distributes employees within a CityBuilderCore.Population

Public Member Functions

 EmploymentPopulation (Population population)
 
void Add (IEmployment employment)
 
void Remove (IEmployment employment)
 
void CalculateNeeded ()
 
int Distribute (int quantity, Dictionary< string, int > priorities)
 
int GetNeeded (EmploymentGroup group)
 
int GetAvailable (EmploymentGroup group)
 

Properties

bool IsEmpty [get]
 
Population Population [get]
 
int WorkersAvailable [get]
 
int WorkersNeeded [get]
 
int Delta [get]
 
float WorkerRate [get]
 
float EmploymentRate [get]