Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="loc"></param>
        /// <returns></returns>
        public static Platform get(Location loc)
        {
            Platform p = FatPlatform.get(loc);

            if (p != null)
            {
                return(p);
            }

            // TODO: check slim platform
            return(ThinPlatform.get(loc));
        }
Пример #2
0
 internal RailRoadImpl(TrafficVoxel voxel, ThinPlatform _owner, int idx, bool _hasRoof, IOutlook _outlook)
     : base(voxel, _owner, idx)
 {
     this._hasRoof = _hasRoof;
     this._outlook = _outlook;
 }