Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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;
        }