Beispiel #1
0
        private BuildingBuilder GenerateTechBuilding(uint identifier)
        {
            var building = new BuildingBuilder(Random, identifier, AllocateBuildingSymbol(), BuildingRole.Research);

            building.AllocateName(UsedNames);
            building.VisionRange = BuildingVisionRange;

            // TODO: populate this?

            return(building);
        }
Beispiel #2
0
        private BuildingBuilder GenerateResourceBuilding(uint identifier, ResourceType resource, bool isPrimary)
        {
            var building = new BuildingBuilder(Random, identifier, AllocateBuildingSymbol(), BuildingRole.Resource);

            building.AllocateName(UsedNames);
            building.VisionRange = BuildingVisionRange;

            // TODO: populate this

            return(building);
        }