Java com.badlogic.gdx.scenes.scene2d Group fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.scenes.scene2d Group fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.scenes.scene2d Group.

The text is from its open source code.

Subclass

com.badlogic.gdx.scenes.scene2d.Group has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidaddActor(Actor actor)
Adds an actor as a child of this group.
voidaddActorAt(int index, Actor actor)
Adds an actor as a child of this group, at a specific index.
voidclear()
Removes all children, actions, and listeners from this group.
GroupdebugAll()
Calls #setDebug(boolean,boolean) with true, true .
voiddraw(Batch batch, float parentAlpha)
Draws the group and its children.
TfindActor(String name)
Returns the first actor found with the specified name.
SnapshotArraygetChildren()
Returns an ordered list of child actors in this group.
Actorhit(float x, float y, boolean touchable)
Vector2localToDescendantCoordinates(Actor descendant, Vector2 localCoords)
Converts coordinates for this group to those of a descendant actor.
booleanremoveActor(Actor actor)
Removes an actor from this group.
voidsetTransform(boolean transform)
When true (the default), the Batch is transformed so children are drawn in their parent's coordinate system.
booleanswapActor(int first, int second)
Swaps two actors by index.
booleanswapActor(Actor first, Actor second)
Swaps two actors.