Skip to content

Commit

Permalink
Animator: The use of the MaskBaseAction class is no longer necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
capdevon committed Sep 11, 2023
1 parent 5ddcd1c commit d98cbb2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions game/src/main/java/com/capdevon/anim/Animator.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ public Action actionCycleDone(String animName, boolean loop) {
Action action = animComposer.action(animName);
Tween doneTween = Tweens.callMethod(this, "notifyAnimCycleDone", animName, loop);
// Register custom action with specified name.
action = new MaskBaseAction(Tweens.sequence(action, doneTween));
animComposer.addAction(animName, action);
animComposer.actionSequence(animName, action, doneTween);
return action;
}

Expand Down

0 comments on commit d98cbb2

Please sign in to comment.