Example #1
0
 public GamePlayEngine(IGameDefinitionAccess gameDefinitionAccess, IGameSessionAccess gameSessionAccess, IPlayerAccess playerAccess, ITileAccess tileAccess)
 {
     this.gameDefinitionAccess = gameDefinitionAccess;
     this.gameSessionAccess    = gameSessionAccess;
     this.playerAccess         = playerAccess;
     this.tileAccess           = tileAccess;
 }
Example #2
0
 public GameBoardEngine(IGameSessionAccess gameSessionAccess, IPlayerAccess playerAccess, ITileAccess tileAccess, ILogger logger)
     : base(logger)
 {
     this.gameSessionAccess = gameSessionAccess;
     this.playerAccess      = playerAccess;
     this.tileAccess        = tileAccess;
 }
Example #3
0
        public GameManager(
            IGameDefinitionAccess gameDefinitionAccess
            , IGameSessionAccess gameSessionAccess
            , IPlayerAccess playerAccess
            , ITileAccess tileAccess
            , IGameBoardEngine gameBoardEngine
            , IGamePlayEngine gamePlayEngine
            , IValidationEngine validationEngine)
        {
            this.gameDefinitionAccess = gameDefinitionAccess;
            this.gameSessionAccess    = gameSessionAccess;
            this.playerAccess         = playerAccess;

            this.gameBoardEngine  = gameBoardEngine;
            this.gamePlayEngine   = gamePlayEngine;
            this.validationEngine = validationEngine;
        }
Example #4
0
 public ValidationEngine(IGameSessionAccess gameSessionAccess, ITileAccess tileAccess, ILogger logger)
     : base(logger)
 {
     this.gameSessionAccess = gameSessionAccess;
     this.tileAccess        = tileAccess;
 }
Example #5
0
 public ValidationEngine(IGameSessionAccess gameSessionAccess, ITileAccess tileAccess)
 {
     this.gameSessionAccess = gameSessionAccess;
     this.tileAccess        = tileAccess;
 }
Example #6
0
 public GameBoardEngine(IGameSessionAccess gameSessionAccess, IPlayerAccess playerAccess, ITileAccess tileAccess)
 {
     this.gameSessionAccess = gameSessionAccess;
     this.playerAccess      = playerAccess;
     this.tileAccess        = tileAccess;
 }