コード例 #1
0
 public MoveService(IStorage storage,
                    IDiamondGeneratorService boardDiamondManager,
                    IGameObjectGeneratorService boardObjectGenerator)
 {
     _storage              = storage;
     _boardDiamondManager  = boardDiamondManager;
     _boardObjectGenerator = boardObjectGenerator;
 }
コード例 #2
0
 public BoardsController(IStorage storage, IMoveService moveService,
                         IDiamondGeneratorService diamondGeneratorService,
                         IGameObjectGeneratorService gameObjectGenerators)
 {
     this._storage                    = storage;
     this._moveService                = moveService;
     this._diamondGeneratorService    = diamondGeneratorService;
     this._gameObjectGeneratorService = gameObjectGenerators;
 }
コード例 #3
0
 public WrappingMoveService(IStorage storage,
                            IDiamondGeneratorService boardDiamondManager,
                            IGameObjectGeneratorService boardsObjectGenerator)
     : base(storage, boardDiamondManager, boardsObjectGenerator) //TODO: Remove inheritance, all methods are reimplemented.
 {
 }