예제 #1
0
        public EnemyEndGameProgress(EnemyLogicStateMachine stateMachine)
        {
            spyState            = new PlaySpyState(this);
            checkOpponentState  = new OpponentPassedState(this);
            medicState          = new PlayMedicState(this);
            weakestCardState    = new PlayWeakestCardState(this);
            playerPointsState   = new CheckPlayerPointsState(this);
            playLowestCardState = new PlayLowestCardState(this);
            passTurnState       = new PassTurnState(this);
            playHeroState       = new PlayHeroState(this);
            isStronUnitOnBoard  = new IsStrongUnitOnBoardState(this);
            playScorchState     = new PlayScorchState(this);
            playWeatherState    = new PlayWeatherEffectState(this);
            playMusterState     = new PlayMusterState(this);
            playTightBondState  = new PlayTightBondState(this);
            playClearSkiesState = new PlayClearSkiesState(this);

            this.stateMachine = stateMachine;
            currentState      = checkOpponentState;
        }
 public EnemyStartGameProgress(EnemyLogicStateMachine stateMachine)
 {
     this.stateMachine = stateMachine;
 }