1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 11:22:55 +00:00

add getPath

This commit is contained in:
Abnormal 2024-09-16 22:13:16 +00:00 committed by GitHub
parent a27c4ae24f
commit 0b531c5b21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,11 @@ class Assets
return openfl.utils.Assets.getText(path); return openfl.utils.Assets.getText(path);
} }
public static function getPath(path:String):String
{
return openfl.utils.Assets.getPath(path);
}
public static function getMusic(path:String):openfl.media.Sound public static function getMusic(path:String):openfl.media.Sound
{ {
return openfl.utils.Assets.getMusic(path); return openfl.utils.Assets.getMusic(path);