コード例 #1
0
        public BuildingItem(BuildingItemType itemtype)
        {
            _itemType = itemtype;

            _constructionState = ConstructionState.InProgress;

            //TODO: set initial values - is there anything else that needs to be set?
        }
コード例 #2
0
 public void AddBuildingOfType(BuildingItemType buildingType)
 {
     _inProgressBuildings.Add(new BuildingItem(buildingType));
 }