Class CutsceneInstance

java.lang.Object
net.thewinnt.cutscenes.CutsceneInstance

public class CutsceneInstance extends Object
  • Field Details

  • Constructor Details

    • CutsceneInstance

      public CutsceneInstance(CutsceneType cutscene)
  • Method Details

    • tick

      public boolean tick()
      Ticks the cutscene logic, mainly the onStart/onFrame/onEnd methods of transitions and cutscene effects
      Returns:
      true if the cutscene should continue
    • interrupt

      public void interrupt()
      Stops all running effects and transitions. The cutscene should not be ticked after calling this method.
    • getTime

      public double getTime()
    • getTimeManager

      public TimeManager getTimeManager()
    • getEndTime

      public double getEndTime()
    • isTimeForStart

      public boolean isTimeForStart()
    • isTimeForEnd

      public boolean isTimeForEnd()
    • getEndProress

      public double getEndProress()
    • endedStartTransition

      public boolean endedStartTransition()
    • endedEndTransition

      public boolean endedEndTransition()
    • isInitialized

      public boolean isInitialized()