public Room(int width, int length, IDirectionMapper directionMapper) { this.directionMapper = directionMapper; cells = new List <Cell>(width * length); for (int x = 0; x < width; x++) { for (int y = 0; y < length; y++) { cells.Add(new Cell(new Position(x, y))); } } }
public void SetUp() { directionMapper = NewMock <IDirectionMapper>(); }