Пример #1
0
        public BattleScreen(SevenBattleState battleState, ScreenState state)
            : this()
        {
            StatusBarLeft = new Screens.StatusBarLeft(battleState, state);
            StatusBarRight = new Screens.StatusBarRight(battleState, state);
            InfoBar = new Screens.InfoBar(battleState, state);
            EventBar = new Screens.EventBar(battleState, state);
            ItemMenu = new Screens.ItemMenu(battleState, state);
            WItemMenu = new Screens.WItemMenu(battleState, state);

            MagicInfo = new Screens.Magic.Info(battleState, state);
            EnemySkillInfo = new Screens.EnemySkill.Info(battleState, state);
            SummonMenuInfo = new Screens.Summon.Info(battleState, state);

            SelfSelector = new Screens.Selector.SelfSelector(battleState);
            TargetSelector = new Screens.Selector.TargetSelector(battleState);
            GroupSelector = new Screens.Selector.GroupSelector(battleState);
            AreaSelector = new Screens.Selector.AreaSelector(battleState);

            PausedBar = new Screens.PausedBar(state);

            _controllerStack = new List<IController>();
            _controller = null;

            BattleState = battleState;
        }
Пример #2
0
        public BattleScreen(SevenBattleState battleState, ScreenState state)
            : this()
        {
            StatusBarLeft  = new Screens.StatusBarLeft(battleState, state);
            StatusBarRight = new Screens.StatusBarRight(battleState, state);
            InfoBar        = new Screens.InfoBar(battleState, state);
            EventBar       = new Screens.EventBar(battleState, state);
            ItemMenu       = new Screens.ItemMenu(battleState, state);
            WItemMenu      = new Screens.WItemMenu(battleState, state);

            MagicInfo      = new Screens.Magic.Info(battleState, state);
            EnemySkillInfo = new Screens.EnemySkill.Info(battleState, state);
            SummonMenuInfo = new Screens.Summon.Info(battleState, state);

            SelfSelector   = new Screens.Selector.SelfSelector(battleState);
            TargetSelector = new Screens.Selector.TargetSelector(battleState);
            GroupSelector  = new Screens.Selector.GroupSelector(battleState);
            AreaSelector   = new Screens.Selector.AreaSelector(battleState);

            PausedBar = new Screens.PausedBar(state);

            _controllerStack = new List <IController>();
            _controller      = null;

            BattleState = battleState;
        }