com.ng.gdxutils.actor.LabelActor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gdx-utils Show documentation
Show all versions of gdx-utils Show documentation
A java library that used over libGdx game framework.
The newest version!
package com.ng.gdxutils.actor;
import com.badlogic.gdx.scenes.scene2d.Group;
import com.badlogic.gdx.scenes.scene2d.Touchable;
import com.badlogic.gdx.scenes.scene2d.ui.Container;
import com.badlogic.gdx.scenes.scene2d.ui.Label;
import com.badlogic.gdx.utils.Align;
/**
* (c) 2016 Abhishek Aryan
*
* @author Abhishek Aryan
* @since 7/25/2016.
*/
public class LabelActor {
Label localLabel;
public LabelActor(Group group, String text, Label.LabelStyle labelStyle, float width, float height){
localLabel=new Label(text, labelStyle);
localLabel.setAlignment(Align.center);
Container
© 2015 - 2024 Weber Informatics LLC | Privacy Policy