package com.github.czyzby.lml.vis.parser.impl.tag; import com.badlogic.gdx.scenes.scene2d.Actor; import com.github.czyzby.lml.parser.LmlParser; import com.github.czyzby.lml.parser.impl.tag.AbstractNonParentalActorLmlTag; import com.github.czyzby.lml.parser.tag.LmlActorBuilder; import com.github.czyzby.lml.parser.tag.LmlTag; import com.kotcrab.vis.ui.widget.BusyBar; /** * Handles {@link BusyBar} widget. Cannot have children. Mapped to "busyBar". * @author MJ */ public class BusyBarLmlTag extends AbstractNonParentalActorLmlTag { public BusyBarLmlTag(LmlParser parser, LmlTag parentTag, StringBuilder rawTagData) { super(parser, parentTag, rawTagData); } @Override protected Actor getNewInstanceOfActor(LmlActorBuilder builder) { return new BusyBar(builder.getStyleName()); } }