Example #1
0
 public SimTrick(
     SimRoundPlayerInfo firstToPlay,
     SimRoundPlayerInfo secondToPlay,
     ISimStateManager stateManager,
     IDeck deck,
     IGameRules gameRules)
 {
     this.firstToPlay = firstToPlay;
     this.secondToPlay = secondToPlay;
     this.stateManager = stateManager;
     this.deck = deck;
     this.gameRules = gameRules;
 }
Example #2
0
 public SimTrick(
     SimRoundPlayerInfo firstToPlay,
     SimRoundPlayerInfo secondToPlay,
     ISimStateManager stateManager,
     IDeck deck,
     IGameRules gameRules)
 {
     this.firstToPlay  = firstToPlay;
     this.secondToPlay = secondToPlay;
     this.stateManager = stateManager;
     this.deck         = deck;
     this.gameRules    = gameRules;
 }
Example #3
0
        public SimRound(
            ISimPlayer firstPlayer,
            ISimPlayer secondPlayer,
            IGameRules gameRules,
            PlayerPosition firstToPlay = PlayerPosition.FirstPlayer)
        {
            this.gameRules = gameRules;
            this.deck = new SimDeck();
            this.stateManager = new SimStateManager();

            this.firstPlayer = new SimRoundPlayerInfo(firstPlayer);
            this.secondPlayer = new SimRoundPlayerInfo(secondPlayer);

            this.firstToPlay = firstToPlay;
        }
Example #4
0
        public SimRound(
            ISimPlayer firstPlayer,
            ISimPlayer secondPlayer,
            IGameRules gameRules,
            PlayerPosition firstToPlay = PlayerPosition.FirstPlayer)
        {
            this.gameRules    = gameRules;
            this.deck         = new SimDeck();
            this.stateManager = new SimStateManager();

            this.firstPlayer  = new SimRoundPlayerInfo(firstPlayer);
            this.secondPlayer = new SimRoundPlayerInfo(secondPlayer);

            this.firstToPlay = firstToPlay;
        }
Example #5
0
 protected SimBaseRoundState(ISimStateManager round)
 {
     this.Round = round;
 }
Example #6
0
 public SimFinalRoundState(ISimStateManager round)
     : base(round)
 {
 }
 public SimTwoCardsLeftRoundState(ISimStateManager round)
     : base(round)
 {
 }
Example #8
0
 public SimStartRoundState(ISimStateManager round)
     : base(round)
 {
 }
Example #9
0
 protected SimBaseRoundState(ISimStateManager round)
 {
     this.Round = round;
 }
Example #10
0
 public SimStartRoundState(ISimStateManager round)
     : base(round)
 {
 }
Example #11
0
 public SimTwoCardsLeftRoundState(ISimStateManager round)
     : base(round)
 {
 }
Example #12
0
 public SimFinalRoundState(ISimStateManager round)
     : base(round)
 {
 }