package com.github.czyzby.lml.parser.impl.attribute.table; import com.badlogic.gdx.scenes.scene2d.ui.Table; import com.github.czyzby.lml.parser.LmlParser; import com.github.czyzby.lml.parser.tag.LmlAttribute; import com.github.czyzby.lml.parser.tag.LmlTag; /** See {@link Table#setRound(boolean)}. Mapped to "round". * * @author MJ */ public class TableRoundLmlAttribute implements LmlAttribute<Table> { @Override public Class<Table> getHandledType() { return Table.class; } @Override public void process(final LmlParser parser, final LmlTag tag, final Table actor, final String rawAttributeData) { actor.setRound(parser.parseBoolean(rawAttributeData, actor)); } }