protected int[] RandomizeNote(BeatRandomizer randomizer) { var notes = new List <Note>() { new Note(NoteType.Regular, 0) }; var randomizedNote = randomizer.RandomizeBeat(notes).Single(); return(PanelConfigUtil.GetPanelIndices(randomizedNote.panel)); }
private void DisableHeldNote(bool[,] availablePanels, Foot foot) { var panelNote = heldPanelNotes[foot]; if (panelNote == null) { return; } var panelIndices = PanelConfigUtil.GetPanelIndices(panelNote.panel); availablePanels[panelIndices[0], panelIndices[1]] = false; }