public Game1() { _graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; _rhythmEngine = new RhythmEngine(this); Components.Add(_rhythmEngine); _melodyPlayer = new RhythmMelodyPlayer(_rhythmEngine); }
public RhythmMelodyPlayer(RhythmEngine engine) { _engine = engine; }