Save points also to notes.

This commit is contained in:
Florian Küpper committed 2013-09-15 16:36:53 +02:00
1 parent 808c52d471
commit 46c12db857
3 files changed
+11 -3

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ namespace VocaluxeLib.Songs
{
public class CSungLine : CLineBase<CSungNote>
{
public double BonusPoints;
// for drawing perfect line effect
public bool PerfectLine { get; set; }
+3 -1
View File
@@ -43,12 +43,14 @@ namespace VocaluxeLib.Songs
/// <param name="duration"></param>
/// <param name="tone"></param>
/// <param name="hitNote"></param>
public CSungNote(int startBeat, int duration, int tone, CSongNote hitNote) : this(startBeat, duration, tone)
public CSungNote(int startBeat, int duration, int tone, CSongNote hitNote, double points) : this(startBeat, duration, tone)
{
HitNote = hitNote;
Points = points;
}
#region Properties
public double Points;
// for drawing player notes
public bool Hit
{