Exemple #1
0
        public void Initialize(string propertyName, bool external)
        {
            Title.SetTitle(propertyName);
            GameFacade.CurrentCityName = propertyName;
            ZoomLevel = 1; //screen always starts at near zoom

            JoinLotProgress = new UIJoinLotProgress();
            InitializeLot(propertyName, external);
        }
Exemple #2
0
        public JoinLotProgressController(UIJoinLotProgress view, LotConnectionRegulator regulator)
        {
            this.View = view;

            regulator.OnError      += Regulator_OnError;
            regulator.OnTransition += Regulator_OnTransition;

            ConnectionReg = regulator;
        }
        public void Initialize(string propertyName, bool external)
        {
            DynamicTuning.Global = new DynamicTuning(new DynTuningEntry[0]);
            Title.SetTitle(propertyName);
            GameFacade.CurrentCityName = propertyName;
            ZoomLevel = 1; //screen always starts at near zoom

            JoinLotProgress = new UIJoinLotProgress();
            InitializeLot(propertyName, external);
        }
Exemple #4
0
        public void Initialize(string cityName, int cityMap, TerrainController terrainController)
        {
            Title.SetTitle(cityName);
            GameFacade.CurrentCityName = cityName;
            InitializeMap(cityMap);
            InitializeMouse();
            ZoomLevel = 5; //screen always starts at far zoom, city visible.
            CityRenderer.m_ZoomProgress = 0;

            JoinLotProgress = new UIJoinLotProgress();
            JoinLotProgress.BindController <JoinLotProgressController>();

            terrainController.Init(CityRenderer);
            CityRenderer.SetController(terrainController);
        }
        public void Initialize(string propertyName, bool external)
        {
            DynamicTuning.Global = new DynamicTuning(new DynTuningEntry[] {
                new DynTuningEntry()
                {
                    tuning_type  = "city",
                    tuning_index = 0,
                    tuning_table = 0,
                    value        = -1
                }
            });
            Title.SetTitle(propertyName);
            GameFacade.CurrentCityName = propertyName;
            ZoomLevel = 1; //screen always starts at near zoom

            JoinLotProgress = new UIJoinLotProgress();
            InitializeLot(propertyName, external);
        }
Exemple #6
0
        public void Initialize(string cityName, int cityMap, TerrainController terrainController)
        {
            Title.SetTitle(cityName);
            GameFacade.CurrentCityName = cityName;
            InitializeMap(cityMap);
            InitializeMouse();
            ZoomLevel = 5; //screen always starts at far zoom, city visible.
            CityRenderer.m_ZoomProgress = 0;

            JoinLotProgress = new UIJoinLotProgress();
            ControllerUtils.BindController <JoinLotProgressController>(JoinLotProgress);

            terrainController.Init(CityRenderer);
            CityRenderer.SetController(terrainController);

            GameThread.NextUpdate(x =>
            {
                FSOFacade.Hints.TriggerHint("screen:city");
            });
        }