Exemplo n.º 1
0
        public static Platform get(Location loc)
        {
            Platform p = FatPlatform.get(loc);

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

            // TODO: check slim platform
            return(ThinPlatform.get(loc));
        }
Exemplo n.º 2
0
 internal RailRoadImpl(TrafficVoxel voxel, ThinPlatform _owner, int idx, bool _hasRoof, Outlook _outlook)
     : base(voxel, _owner, idx)
 {
     this._hasRoof = _hasRoof;
     this._outlook = _outlook;
 }