Esempio n. 1
0
        protected override void LoadContent()
        {
            base.LoadContent();

            this.mBeeWorldManagerComponent = new BeeWorldManagerComponent(this);
            this.mBeeWorldManagerComponent.Initialize();
            this.Components.Add(this.mBeeWorldManagerComponent);

            var lInitialGameScreen = new Screens.BeeWorldScreen();
            this.mScreenManagerComponent = new ScreenManagerComponent(this, lInitialGameScreen, this.mBeeWorldManagerComponent.BeeWorldManager);
            this.mScreenManagerComponent.Initialize();
            this.Components.Add(this.mScreenManagerComponent);
        }
Esempio n. 2
0
 private void MenuButtonTravel_Click(MenuButton obj)
 {
     var lWorldScreen = new BeeWorldScreen();
     this.ScreenManager.TransitionTo(lWorldScreen);
 }