OSDN Git Service

[changed] AnimationAction has a new method called getTarget() which returns the Actor...
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Tue, 8 Feb 2011 18:49:45 +0000 (18:49 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Tue, 8 Feb 2011 18:49:45 +0000 (18:49 +0000)
commita6c2ac59bccb555b658a11b3147771a5445d12eb
tree10031fd802ca827ed5accb74f1ae8be12cd6011e
parent3862e5b81c5f707cda03ec2d6440a5eb141015de
[changed] AnimationAction has a new method called getTarget() which returns the Actor the action applies to. You can cast to that in OnActionCompleted.completed() if you need the actor.
gdx/src/com/badlogic/gdx/scenes/scene2d/Action.java
gdx/src/com/badlogic/gdx/scenes/scene2d/AnimationAction.java
gdx/src/com/badlogic/gdx/scenes/scene2d/OnActionCompleted.java
gdx/src/com/badlogic/gdx/scenes/scene2d/actions/Delay.java