public void SetStation(Station station)
    {
        _station = station;
        hangarView.SetZone(station.GetHangar(-1));

        UpdateView();
    }
Example #2
0
    public void StationHangar()
    {
        ResourceHolderView newObj = Instantiate <ResourceHolderView>(resourceHolderViewPrefab);
        Window             window = winSystem.NewWindow("stationHangar", newObj.gameObject);

        window.Title = "Station hangar";
        newObj.SetZone(dataModel.Universe.GetStation(1).GetHangar(-1));
    }
 public void SetHangar(OSTData.Hangar h)
 {
     //        _hangar = h;
     _resourceHold.SetZone(h);
 }