protected IsPlayerBlockedTransition(GamePlayStrategyInfo gamePlayStrategyInfo,
                                     GamePlayStrategyState fromState)
     : base(
         gamePlayStrategyInfo)
 {
     _directionGenerator = new Random();
     FromState           = fromState;
     _chosenDirection    = null;
 }
Esempio n. 2
0
 protected GamePlayStrategyState(StateTransitionType transitionType,
                                 GamePlayStrategyInfo playerStrategyInfo) : base(transitionType, playerStrategyInfo)
 {
     RestrictedToTaskArea = false;
     PlayerStrategyInfo   = playerStrategyInfo;
 }
 protected GameStrategyTransition(GamePlayStrategyInfo leaderStrategyInfo)
 {
     GamePlayStrategyInfo = leaderStrategyInfo;
 }