Exemple #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));
        }
Exemple #2
0
 internal RailRoadImpl(TrafficVoxel voxel, ThinPlatform _owner, int idx, bool _hasRoof, IOutlook _outlook)
     : base(voxel, _owner, idx)
 {
     this._hasRoof = _hasRoof;
     this._outlook = _outlook;
 }