public BattleshipGridCell NewCellState(BattleshipGridCell prevCellState) { if (_cellStatesAfterHit.Contains(prevCellState)) { throw new CellRepetitionException(); } return(_nextStateMappings[prevCellState]); }
public char GetCellValueToDisplay(BattleshipGridCell cell) { return(_displayMappings[cell]); }