The Transition class is the base class for Transitions. Implementations of Transition defines what happens when transitioning between Screens, which typically involves visual effects. An example of a transition implementation can be seen in example custom_transition_example. The most basic transition is the NoTransition class that does a transition without any visual effects.
|Called for every tick when transitioning.|
|Initializes the transition.|
|Invalidates the screen when starting the Transition.|
|Query if the transition is done transitioning.|
|virtual void||setScreenContainer(Container & cont)|
|Sets the ScreenContainer.|
|Tears down the Animation.|
|Initializes a new instance of the Transition class.|
|Finalizes an instance of the Transition class.|
|Flag that indicates when the transition is done. This should be set by implementing classes.|
|The screen Container of the Screen transitioning to.|
|virtual void handleTickEvent||(||)|
|virtual void init||(||)|
|virtual void invalidate||(||)|
Query if the transition is done transitioning.
It is the responsibility of the inheriting class to set the underlying done flag once the transition has been completed.
True if the transition is done, false otherwise.
|virtual void tearDown||(||)|
Flag that indicates when the transition is done. This should be set by implementing classes.