Beispiel #1
0
        public static void Update(GameTime gameTime, MouseState mouseState)
        {
            //llamo a la función Update de los bangs
            foreach (var bang in chordPlaying)
            {
                bang.Value.Update(gameTime, mouseState);
            }

            slowerArpeggiations.Update(mouseState);

            chord1.UpdateArpeggio(gameTime); //en cada update corro a la función "UpdateArpeggio" del acorde.
        }
        public static void Update(GameTime gameTime, MouseState mouseState)
        {
            //llamo a la función Update de los checkboxes

            foreach (var checkbox in _chordType)
            {
                checkbox.Update(mouseState);
            }

            foreach (var checkbox in _chordInversion)
            {
                checkbox.Update(mouseState);
            }

            foreach (var bang in _chordTypePresets)
            {
                bang.Value.Update(gameTime, mouseState);
            }

            _onlyRootPosition.Update(mouseState);
        }
 public static void Update(MouseState mouseState)
 {
     _allowAudio.Update(mouseState); //llamo a la función Update de checkbox
 }