コード例 #1
0
ファイル: LineLazer.cs プロジェクト: hakuliu/RhythmGladiator
 protected override void assignTrack()
 {
     BeatEvent[] events = new BeatEvent[deltas.Length];
     for (int i = 0; i < events.Length; i++)
     {
         events[i] = CommonEventFactory.getDelegatedEvent(PewLambda());
     }
     events [events.Length - 1] = CommonEventFactory.getNoOp();
     track.assignEvents(events, deltas);
 }
コード例 #2
0
    protected override void assignTrack()
    {
        BeatEvent[] events = new BeatEvent[deltas.Length];
        for (int i = 0; i < events.Length - 1; i++)
        {
            events[i] = getAttackEvent();
        }
        events [events.Length - 1] = CommonEventFactory.getNoOp();

        track.assignEvents(events, deltas);
    }
コード例 #3
0
    protected override void assignTrack()
    {
        BeatEvent[] events = new BeatEvent[] {
            getAttackEvent(),
            CommonEventFactory.getNoOp()
        };
        float[] deltas = new float[] {
            beatOffset,
            beatsBetweenAttack
        };

        track.assignEvents(events, deltas);
        track.AdditionalOffset(beatOffset);
    }