examples\book\digital-artists\chapter9\DrumMachine\Listing9.17.ck
// Listing 9.17 Initialize.ck adds BPM.ck class and then turns it all over to score.ck
// initialize.ck

// our conductor/beat-timer class
Machine.add(me.dir()+"/BPM.ck");  // (1) Adds the BPM class definition...

// our score
Machine.add(me.dir()+"/score.ck"); // (2) ...then adds the score, which does the rest.
home .. language .. program .. examples