Beispiel #1
0
        private void MoveTeamModeSelection(TeamSelectData data, CursorDirection direction)
        {
            if (data == null)
            {
                throw new ArgumentNullException(nameof(data));
            }

            if (data.MoveTeamModeCursor(direction))
            {
                data.PlayCursorMoveSound();
            }
        }
Beispiel #2
0
        private void MoveCharacterSelection(TeamSelectData data, CursorDirection direction)
        {
            if (data == null)
            {
                throw new ArgumentNullException(nameof(data));
            }

            if (data.MoveCharacterCursor(direction, Grid.Size, Grid.Wrapping))
            {
                data.PlayCursorMoveSound();
            }
        }