예제 #1
0
        void IGameStateListener.OnActivate()
        {
            base.OnActivate();
            this._gauntletLayer = new GauntletLayer(1, "GauntletLayer");
            this._gauntletLayer.InputRestrictions.SetInputRestrictions(true, InputUsageMask.All);
            this._gauntletLayer.Input.RegisterHotKeyCategory(HotKeyManager.GetCategory("GenericCampaignPanelsGameKeyCategory"));
            this._gauntletLayer.IsFocusLayer = true;
            ScreenManager.TrySetFocus((ScreenLayer)this._gauntletLayer);
            this.AddLayer((ScreenLayer)this._gauntletLayer);

            this._dataSource = new MarketplaceVM();
            this._gauntletLayer.LoadMovie("ClanScreen2", this._dataSource);
        }
예제 #2
0
 void IGameStateListener.OnFinalize()
 {
     this._dataSource    = (MarketplaceVM)null;
     this._gauntletLayer = (GauntletLayer)null;
 }