Skip to content

Commit

Permalink
Fixed typo. (#270)
Browse files Browse the repository at this point in the history
* Fixed typo.

* Update Assets.hx
  • Loading branch information
rodney528 authored May 31, 2024
1 parent d7b6fbe commit 71b7daa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/funkin/game/StrumLine.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
/**
Expand Down
2 changes: 1 addition & 1 deletion source/openfl/utils/Assets.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71b7daa

Please sign in to comment.