Example usage for Java com.badlogic.gdx.scenes.scene2d Group fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addActor(Actor actor) Adds an actor as a child of this group. |
void | addActorAt(int index, Actor actor) Adds an actor as a child of this group, at a specific index. |
void | clear() Removes all children, actions, and listeners from this group. |
Group | debugAll() Calls #setDebug(boolean,boolean) with true, true . |
void | draw(Batch batch, float parentAlpha) Draws the group and its children. |
T | findActor(String name) Returns the first actor found with the specified name. |
SnapshotArray | getChildren() Returns an ordered list of child actors in this group. |
Actor | hit(float x, float y, boolean touchable) |
Vector2 | localToDescendantCoordinates(Actor descendant, Vector2 localCoords) Converts coordinates for this group to those of a descendant actor. |
boolean | removeActor(Actor actor) Removes an actor from this group. |
void | setTransform(boolean transform) When true (the default), the Batch is transformed so children are drawn in their parent's coordinate system. |
boolean | swapActor(int first, int second) Swaps two actors by index. |
boolean | swapActor(Actor first, Actor second) Swaps two actors. |