Example #1
0
        public MenuState()
            : base(TypeState.Normal)
        {
            _title   = "Menu";
            _menu    = new string[10];
            _menu[0] = "Demo Listen";
            _menu[1] = "menu2";
            _menu[2] = "menu";
            _menu[3] = "menu";
            _menu[4] = "menu";
            _menu[5] = "menu";
            _menu[6] = "menu";
            _menu[7] = "menu";
            _menu[8] = "menu";
            _menu[9] = "menu";

            _arrayState    = new State[10];
            _arrayState[0] = new DemoListenState();
            //_arrayState[1] = new TrucState();
        }
Example #2
0
        public MenuState()
            : base(TypeState.Normal)
        {
            _title = "Menu";
            _menu = new string[10];
            _menu[0] = "Demo Listen";
            _menu[1] = "menu2";
            _menu[2] = "menu";
            _menu[3] = "menu";
            _menu[4] = "menu";
            _menu[5] = "menu";
            _menu[6] = "menu";
            _menu[7] = "menu";
            _menu[8] = "menu";
            _menu[9] = "menu";

            _arrayState = new State[10];
            _arrayState[0] = new DemoListenState();
            //_arrayState[1] = new TrucState();
        }