private void MoveCharacterSelection(SelectData data, CursorDirection direction) { if (data == null) { throw new ArgumentNullException(nameof(data)); } if (data.MoveCharacterCursor(direction, Grid.Size, Grid.Wrapping)) { data.PlayCursorMoveSound(); } }
void MoveCharacterSelection(SelectData data, CursorDirection direction) { if (data == null) { throw new ArgumentNullException("data"); } if (data.MoveCharacterCursor(direction, m_gridsize, m_wrapping) == true) { data.PlayCursorMoveSound(); } }