Merge branch 'master' into fix-fixin-fixes

This commit is contained in:
Spel0
2021-08-13 12:33:44 +03:00
9 changed files with 182 additions and 114 deletions

View File

@@ -35,6 +35,8 @@ class Note extends FlxSprite
public var originColor:Int = 0; // The sustain note's original note's color
public var noteSection:Int = 0;
public var isAlt:Bool = false;
public var noteCharterObject:FlxSprite;
public var noteScore:Float = 1;
@@ -63,13 +65,15 @@ class Note extends FlxSprite
public var children:Array<Note> = [];
public function new(strumTime:Float, noteData:Int, ?prevNote:Note, ?sustainNote:Bool = false, ?inCharter:Bool = false)
public function new(strumTime:Float, noteData:Int, ?prevNote:Note, ?sustainNote:Bool = false, ?inCharter:Bool = false, ?isAlt:Bool = false)
{
super();
if (prevNote == null)
prevNote = this;
this.isAlt = isAlt;
this.prevNote = prevNote;
isSustainNote = sustainNote;