示例#1
0
 public BeatMark(BeatId id, SKPoint coord, SKPaint paint, float expiry, string mark)
 {
     Id          = id;
     Coord       = coord;
     Paint       = paint;
     this.Expiry = expiry;
     this.Mark   = mark;
 }
示例#2
0
 public void SetPlayedBeatStatus(BeatId beatId, BeatStatus status)
 {
     foreach (var mark in beatMarks)
     {
         if (mark.Id.Index == beatId.Index)
         {
             mark.Paint = beatPaints.Paint(status);
         }
     }
 }
示例#3
0
 public void SetPlayedBeatStatus(BeatId beatId, BeatStatus status)
 {
     beatsDrawer.SetPlayedBeatStatus(beatId, status);
 }
 public TimedEvent <Beat> Beat(BeatId id)
 {
     return(beats[id.Index - 1]);
 }
示例#5
0
 public AccuracySummary BeatSummary(BeatId patternBeatId)
 {
     return(summaries[-patternBeatId.Index - 1]);
 }
示例#6
0
 public TimedBeatId(float t, BeatId id)
 {
     this.T  = t;
     this.Id = id;
 }