client_ui/template/Haxe/Component.template
2020-03-30 10:23:50 +08:00

28 lines
388 B
Plaintext

package {packageName};
import fairygui.*;
class {className} extends {componentName}
{
{variable}
public static inline var URL:String = "{uiPath}";
public static function createInstance():{className}
{
{createInstance}
}
public function new()
{
super();
}
private override function constructFromXML(xml:FastXML):Void
{
super.constructFromXML(xml);
{content}
}
}