// execute action for every frame // if action is finished, return true; public override bool step(FrmEmulator emulator, long time) { TActor targetActor = (TActor)emulator.currentScene.findLayer(actor); if (targetActor != null) { targetActor.stopAnimation(eventu, state); } return(base.step(emulator, time)); }