Files
CodenameEngine/source/funkin/editors/character/CharacterAnimsWindow.hx
T
2024-04-14 18:49:23 -07:00

14 lines
406 B
Haxe

package funkin.editors.character;
class CharacterAnimsWindow extends UIButtonList<CharacterAnimButton> {
public function new(x:Float, y:Float, animations:Array<String>) {
super(x, y, Std.int(500-16), 419, "", FlxPoint.get(500-16, 32));
cameraSpacing = 0;
frames = Paths.getFrames('editors/ui/inputbox');
for (anim in animations)
add(new CharacterAnimButton(0,0, anim, FlxPoint.get()));
}
}