1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-29 10:13:32 +00:00
This commit is contained in:
EliteMasterEric 2023-02-02 18:08:30 -05:00
commit a598d88152
2 changed files with 33 additions and 5 deletions

View file

@ -11,14 +11,14 @@
"name": "flixel", "name": "flixel",
"type": "git", "type": "git",
"dir": null, "dir": null,
"ref": "ec5d0f2", "ref": "d6100cc8",
"url": "https://github.com/EliteMasterEric/flixel" "url": "https://github.com/EliteMasterEric/flixel"
}, },
{ {
"name": "flixel-addons", "name": "flixel-addons",
"type": "git", "type": "git",
"dir": null, "dir": null,
"ref": "752c3d7", "ref": "f107166",
"url": "https://github.com/EliteMasterEric/flixel-addons" "url": "https://github.com/EliteMasterEric/flixel-addons"
}, },
{ {
@ -30,7 +30,7 @@
"name": "flxanimate", "name": "flxanimate",
"type": "git", "type": "git",
"dir": null, "dir": null,
"ref": "master", "ref": "18b2060",
"url": "https://github.com/Dot-Stuff/flxanimate" "url": "https://github.com/Dot-Stuff/flxanimate"
}, },
{ {
@ -81,14 +81,14 @@
}, },
{ {
"name": "lime", "name": "lime",
"type": "haxelib", "type": "git",
"version": null "version": null
}, },
{ {
"name": "openfl", "name": "openfl",
"type": "git", "type": "git",
"dir": null, "dir": null,
"ref": "3fd5763c1", "ref": "b2c18513",
"url": "https://github.com/EliteMasterEric/openfl" "url": "https://github.com/EliteMasterEric/openfl"
}, },
{ {

View file

@ -0,0 +1,28 @@
package funkin.graphics.adobeanimate;
import flxanimate.FlxAnimate;
/**
* A sprite which provides convenience functions for rendering a texture atlas.
*/
class FlxAtlasSprite extends FlxAnimate
{
/**
* The animations this sprite has available.
* Keys are animation names, values are the animation data.
*/
var animations:Map<String, FlxAnimateAnimation>;
public function new(?X:Float = 0, ?Y:Float = 0)
{
super(X, Y);
}
}
typedef FlxAnimateAnimation =
{
name:String;
startFrame:Int;
endFrame:Int;
loop:Bool;
}