oops forgot about this
This commit is contained in:
@ -40,6 +40,13 @@ class Note extends FlxSprite
|
||||
|
||||
public var dataColor:Array<String> = ['purple', 'blue', 'green', 'red'];
|
||||
|
||||
public var isParent:Bool = false;
|
||||
public var parent:Note = null;
|
||||
public var spotInLine:Int = 0;
|
||||
public var sustainActive:Bool = true;
|
||||
|
||||
public var children:Array<Note> = [];
|
||||
|
||||
public function new(strumTime:Float, noteData:Int, ?prevNote:Note, ?sustainNote:Bool = false, ?inCharter:Bool = false)
|
||||
{
|
||||
super();
|
||||
@ -167,6 +174,10 @@ class Note extends FlxSprite
|
||||
{
|
||||
super.update(elapsed);
|
||||
|
||||
if (!modifiedByLua)
|
||||
if (!sustainActive)
|
||||
alpha = 0.4;
|
||||
|
||||
if (mustPress)
|
||||
{
|
||||
// ass
|
||||
|
Reference in New Issue
Block a user