/// <summary> /// Create a new structure. /// </summary> /// <param name="structure"></param> /// <param name="tile"></param> /// <param name="owner"></param> public static void CreateStructure(Structure structure, Tile tile, Player owner) { structure.SetTile(tile); structure.SetOwner(owner); tile.SetStructure(structure); }
/// <summary> /// Set the structure on this tile. /// </summary> /// <param name="structure"></param> public void SetStructure(Structure structure) { this.structure = structure; UpdateState(); }