Exemple #1
0
        public QOLCityProject StartBuildingProject(QOLCityProjectDef def)
        {
            if (def.requirements.Any(r => !r.IsValid(this)))
            {
                return(null);
            }
            QOLCityProject proj = new QOLCityProject(def);

            if (def.worldObject != null)
            {
                //search a free spot in the surroundings of the city and create a world object according to the def there and link it to the project.
            }
            return(proj);
        }
Exemple #2
0
 public void RemoveProject(QOLCityProject proj)
 {
 }
Exemple #3
0
 public void FinishBuildingProject(QOLCityProject proj)
 {
 }