TouchpadTest.java | 23 import com.badlogic.gdx.scenes.scene2d.ui.Touchpad;
28 Touchpad touchpad;
field in class:TouchpadTest 36 touchpad = new Touchpad(20, skin);
37 touchpad.setBounds(15, 15, 100, 100);
38 stage.addActor(touchpad);
42 // System.out.println(touchpad.getKnobPercentX() + " " + touchpad.getKnobPercentY());
|