private static void MirrorTransformBeatmapObjects(List <BeatmapObjectData> beatmapObjects, int beatmapLineCount) { for (int i = 0; i < beatmapObjects.Count; i++) { BeatmapObjectData beatmapObjectData = beatmapObjects[i]; beatmapObjectData.MirrorLineIndex(beatmapLineCount); if (beatmapObjectData.beatmapObjectType == BeatmapObjectType.Note) { NoteData noteData = beatmapObjectData as NoteData; if (noteData != null) { noteData.SwitchNoteType(); noteData.MirrorTransformCutDirection(); } } } }