Beispiel #1
0
/**
 * Make the given tile a dock tile.
 * @param t the tile to make a dock
 * @param o the owner of the dock
 * @param sid the station to which this tile belongs
 * @param d the direction of the dock
 * @param wc the type of water on this tile
 */
        public static void MakeDock(this TileIndex t, Owner o, StationID sid, DiagDirection d, WaterClass wc)
        {
            MakeStation(t, o, sid, StationType.STATION_DOCK, d);
            MakeStation(t + Map.TileOffsByDiagDir(d), o, sid, StationType.STATION_DOCK,
                        GFX_DOCK_BASE_WATER_PART + d.DiagDirToAxis(), wc);
        }