Beispiel #1
0
        // TODO: Implement
        private void SetModelFromInstrument(InstrumentType instrument)
        {
            // Set model in can according to instrument assigned
            switch (instrument)
            {
            case InstrumentType.None:
                break;

            case InstrumentType.BassDrum:
                break;

            case InstrumentType.SnareDrum:
                break;

            case InstrumentType.TomDrum:
                break;

            case InstrumentType.CrashCymbal:
                break;

            case InstrumentType.HiHatCymbal:
                break;

            case InstrumentType.Cowbell:
                break;

            default:
                throw new InvalidOperationException("Invalid beat type: " + instrument);
            }
        }
Beispiel #2
0
 public void Clear()
 {
     Instrument = InstrumentType.None;
 }