Exemplo n.º 1
0
        public Gamelevel02( )
        {
            name          = "==关卡02==";
            id            = 02;
            nextID        = 03;
            notPass       = true;
            gamelevelType = GamelevelType.Battle;
            maxRound      = 11;
            num1          = 2;
            num2          = 1;

            _player   = Sally.Ins;
            enemy01AI = new Skill11( );   //slime use skill11
            enemy02AI = new Skill12( );   //goblin use skill12

            BattleMng.Ins.GameLevelPass = false;
            allList.Clear( );
            liveList.Clear( );
            actSeqList.Clear( );
            tarsList.Clear( );

            for (int i = 0; i < num1; i++)
            {
                RoleBase enemy = new Enemy01( );
                enemy.id += i;
                allList.Add(enemy);
            }
            for (int i = 0; i < num2; i++)
            {
                RoleBase enemy = new Enemy02( );
                enemy.id += i;
                allList.Add(enemy);
            }
        }
Exemplo n.º 2
0
        public Gamelevel01( )
        {
            name          = "==关卡01==";
            id            = 01;
            nextID        = 02;
            notPass       = true;
            gamelevelType = GamelevelType.Battle;
            maxRound      = 11;
            num1          = 3;

            _player   = Sally.Ins;
            enemy01AI = new Skill11( );

            for (int i = 0; i < num1; i++)
            {
                RoleBase Enemy = new Enemy01( );
                Enemy.id += i;
                allList.Add(Enemy);
            }
        }