Beispiel #1
0
        /// <summary>
        /// The sprite to draw.
        /// </summary>
        public HVStructure(ContributionReference type, Location loc)
        {
            this.baseLocation = loc;
            if (type.placeSide == PlaceSide.Back)
            {
                this.back = type;
            }
            else
            {
                this.fore = type;
            }

            // build voxels
            new HalfDividedVoxel(this, loc);
            subsidiary = new SubsidiaryCompany(this, false);
            if (type.population != null)
            {
                stationListener = new StationListenerImpl(type.population, loc);
            }
        }