|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.scenes.scene2d.Action
com.badlogic.gdx.scenes.scene2d.actions.Remove
public class Remove
Field Summary | |
---|---|
protected boolean |
removed
|
protected Actor |
target
|
Fields inherited from class com.badlogic.gdx.scenes.scene2d.Action |
---|
listener |
Constructor Summary | |
---|---|
Remove()
|
Method Summary | |
---|---|
static Remove |
$()
|
void |
act(float delta)
Apply the action. |
Action |
copy()
Creates a copy of this action. |
Actor |
getTarget()
|
boolean |
isDone()
|
void |
setTarget(Actor actor)
Sets the Actor of this action. |
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Action |
---|
callActionCompletedListener, finish, getCompletionListener, reset, setCompletionListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Actor target
protected boolean removed
Constructor Detail |
---|
public Remove()
Method Detail |
---|
public static Remove $()
public void setTarget(Actor actor)
Action
Actor
of this action. Will be called when the Action is added to an Actor via Actor.action(Action)
before any other call to this interface.
setTarget
in class Action
actor
- the actor.public void act(float delta)
Action
act
in class Action
delta
- delta time in secondspublic boolean isDone()
isDone
in class Action
public Action copy()
Action
Action.setTarget(Actor)
on it without any side effects.
copy
in class Action
public Actor getTarget()
getTarget
in class Action
Actor
this action targets.
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |