public StructureData(StructureSize size, int x1, int y1, StructureType type = StructureType.Other) { this.Size = size; this.X1 = x1; this.Y1 = y1; this.Cost = new Dictionary <Resource.ResourceType, int>(); this.Type = type; this.Rotation = Rotation.Normal; IsRoad = false; }
public CraftBuilding(StructureSize size, CraftType craft) : base(size) { Craft = craft; // Hardcoded construction of workable materials usableItems = new List <ItemType>(); if (craft == CraftType.CARPENTERY) { usableItems.Add(ItemType.WOOD_PINE); } }
// CONSTRUCTION public Building(StructureSize size) : base(ref size) { }
// CONSTRUCTION public TickProgressableBuilding(StructureSize size) : base(size) { this.size = size; }
public Structure(ref StructureSize size) { this.size = size; }
public StorageBuilding(StructureSize size) : base(size) { MaxCapacity = ((byte)size) * MINIMUM_CAPACITY; }