public Core(List <ControlRod> controlRods, IGameConstants constants) { this.controlRods = controlRods; this.constants = constants; cells = new Cell[5, 5]; for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { cells[i, j] = new Cell(); } } }
public Plant(List <ControlRod> controlRods, IGameConstants constants) { this.constants = constants; core = new Core(controlRods, constants); }