コード例 #1
0
 private Minefield()
 {
     _mine_clearer = new MineClearer();
 }
コード例 #2
0
 public Minefield(IGrid grid, IMineClearer mine_clearer)
 {
     _grid = grid;
     _mine_clearer = mine_clearer;
 }
コード例 #3
0
 public MinefieldFactory(IGridFactory grid_factory, IMinePlanterFactory mine_planter_factory, IMineClearer mine_clearer)
 {
     _grid_factory = grid_factory;
     _mine_planter_factory = mine_planter_factory;
     _mine_clearer = mine_clearer;
 }
コード例 #4
0
 public MinefieldFactory(IGridFactory grid_factory, IMinePlanterFactory mine_planter_factory, IMineClearer mine_clearer)
 {
     _grid_factory         = grid_factory;
     _mine_planter_factory = mine_planter_factory;
     _mine_clearer         = mine_clearer;
 }
コード例 #5
0
 public Minefield(IGrid grid, IMineClearer mine_clearer)
 {
     _grid         = grid;
     _mine_clearer = mine_clearer;
 }
コード例 #6
0
 private Minefield()
 {
     _mine_clearer = new MineClearer();
 }