Update Paths.hx
This commit is contained in:
parent
11be158abe
commit
bf3fac3a6b
|
@ -154,6 +154,9 @@ class Paths
|
|||
inline static public function font(key:String)
|
||||
return 'assets/fonts/$key';
|
||||
|
||||
inline static public function video(key:String)
|
||||
return 'assets/$key.mp4';
|
||||
|
||||
inline static public function getSparrowAtlas(key:String, ?library:String, ?cache:Bool = true)
|
||||
return FlxAtlasFrames.fromSparrow(returnGraphic('images/$key', cache), xml('images/$key'));
|
||||
|
||||
|
|
Loading…
Reference in New Issue