Exemplo n.º 1
0
Arquivo: Dock.cs Projeto: Cdrix/SM
    public Dock(Building build)
    {
        BuildKey  = build.MyId;
        _building = build;
        InitSpots();

        _seaRouter = new SeaRouter(_entry, build);
    }
Exemplo n.º 2
0
Arquivo: Dock.cs Projeto: Cdrix/SM
    internal TheRoute CreateRoute(string shipGoMyId)
    {
        InitSpots();

        if (_seaRouter == null)
        {
            _seaRouter = new SeaRouter(_entry, _building);
        }

        return(_seaRouter.PlotRoute(_entry, _allSpots, _allLookPoints, _building, shipGoMyId));
        //UVisHelp.CreateHelpers(route, Root.yellowSphereHelp);
    }