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

            if (data.MoveTeamModeCursor(direction))
            {
                data.PlayCursorMoveSound();
            }
        }
示例#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();
            }
        }