@@ -30,9 +30,9 @@ class StrumLine extends FlxTypedGroup<Strum> {
|
||||
*/
|
||||
public var onNoteUpdate:FlxTypedSignal<NoteUpdateEvent->Void> = new FlxTypedSignal<NoteUpdateEvent->Void>();
|
||||
/**
|
||||
* Signal that triggers whenever a note is being updated. Similar to onNoteUpdate, except strumline specific.
|
||||
* Signal that triggers whenever a note is being deleted. Similar to onNoteDelete, except strumline specific.
|
||||
* To add a listener, do
|
||||
* `strumLine.onNoteUpdate.add(function(e:NoteUpdateEvent) {});`
|
||||
* `strumLine.onNoteDelete.add(function(e:SimpleNoteEvent) {});`
|
||||
*/
|
||||
public var onNoteDelete:FlxTypedSignal<SimpleNoteEvent->Void> = new FlxTypedSignal<SimpleNoteEvent->Void>();
|
||||
/**
|
||||
|
||||
@@ -91,7 +91,7 @@ class Assets
|
||||
@usage var bitmap = new Bitmap (Assets.getBitmapData ("image.png"));
|
||||
@param id The ID or asset path for the bitmap
|
||||
@param useCache (Optional) Whether to allow use of the asset cache (Default: true)
|
||||
@param useCache Whenever the image should be immediately pushed to GPU.
|
||||
@param pushToGPU Whenever the image should be immediately pushed to GPU.
|
||||
@return A new BitmapData object
|
||||
**/
|
||||
public static function getBitmapData(id:String, useCache:Bool = true, pushToGPU:Bool = true):BitmapData
|
||||
|
||||
Reference in New Issue
Block a user