libgdx API

com.badlogic.gdx.scenes.scene2d
Interface OnActionCompleted


public interface OnActionCompleted

Listener interface called by an Action when it was completed. Use this with Action.setCompletionListener(OnActionCompleted);

Author:
mzechner

Method Summary
 void completed(Action action)
          Called when the Action is completed.
 

Method Detail

completed

void completed(Action action)
Called when the Action is completed. Note that this might get called multiple times in case the Action is part of a Repeat Action. If the Action is an AnimationAction then you can cast to this class and receive the targeted {link Actor} via AnimationAction.getTarget().

Parameters:
action - the Action.

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)