games.rednblack.h2d.extension.typinglabel.TypingLabelComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-typinglabel-extension Show documentation
Show all versions of libgdx-typinglabel-extension Show documentation
Typing Label extension for HyperLap2D libgdx runtime
package games.rednblack.h2d.extension.typinglabel;
import com.artemis.PooledComponent;
import com.rafaskoberg.gdx.typinglabel.TypingLabel;
public class TypingLabelComponent extends PooledComponent {
public transient TypingLabel typingLabel;
@Override
public void reset() {
if (typingLabel != null)
typingLabel.remove();
typingLabel = null;
}
}