Class AnimEvent

All Implemented Interfaces:
CinematicEvent, Savable

public class AnimEvent extends AbstractCinematicEvent
A CinematicEvent that plays a canned animation action in an AnimComposer. Inspired by Nehon's AnimationEvent.
  • Field Details

    • logger

      public static final Logger logger
  • Constructor Details

    • AnimEvent

      public AnimEvent(AnimComposer composer, String actionName, String layerName)
      Instantiate a non-looping event to play the named action on the named layer of the specified AnimComposer.
      composer - the Control that will play the animation (not null)
      actionName - the name of the animation action to be played
      layerName - the name of the animation layer on which the action will be played
    • AnimEvent

      protected AnimEvent()
      No-argument constructor needed by SavableClassUtil.
  • Method Details