public override void cleanup() { base.cleanup(); this.song.stop(); this.song.reset(); this.song = null; }
public void testBpm() { Song song = new Song(); song.bpm = 120; Assert.AreEqual(120, song.bpm); }
internal void addInput(InputState.Move move, Song.MusicTime musicLength, bool isTriplet) { Input input = new Input(this); input.handicap = move; input.musicLength = musicLength; input.partOfTriole = isTriplet; input.positionInSequence = this._length; this.sequence.Add(input); this._length += input.length; }
public override void initialize(ContentUtil content, SceneActivationParameters parameters) { base.initialize(content, parameters); this.song = new Song(this.songName, content, this.bpm); }