Exemple #1
0
        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();
            }
        }
Exemple #2
0
        void MoveCharacterSelection(SelectData data, CursorDirection direction)
        {
            if (data == null)
            {
                throw new ArgumentNullException("data");
            }

            if (data.MoveCharacterCursor(direction, m_gridsize, m_wrapping) == true)
            {
                data.PlayCursorMoveSound();
            }
        }