mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
add getPath
This commit is contained in:
parent
a27c4ae24f
commit
0b531c5b21
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue