예제 #1
0
 public override void cleanup()
 {
     base.cleanup();
     this.song.stop();
     this.song.reset();
     this.song = null;
 }
예제 #2
0
 public void testBpm()
 {
     Song song = new Song();
     song.bpm = 120;
     Assert.AreEqual(120, song.bpm);
 }
예제 #3
0
        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;
        }
예제 #4
0
 public override void initialize(ContentUtil content, SceneActivationParameters parameters)
 {
     base.initialize(content, parameters);
     this.song = new Song(this.songName, content, this.bpm);
 }