Uses of Class
tripleplay.game.ScreenStack.Transition
Packages that use ScreenStack.Transition
-
Uses of ScreenStack.Transition in tripleplay.game
Fields in tripleplay.game declared as ScreenStack.TransitionModifier and TypeFieldDescriptionstatic final ScreenStack.Transition
ScreenStack.NOOP
Simply puts the new screen in place and removes the old screen.Methods in tripleplay.game with parameters of type ScreenStack.TransitionModifier and TypeMethodDescriptionvoid
ScreenStack.popTo
(ScreenStack.Screen newTopScreen, ScreenStack.Transition trans) Pops the top screen from the stack until the specified screen has become the topmost/visible screen.void
ScreenStack.push
(Iterable<? extends ScreenStack.Screen> screens, ScreenStack.Transition trans) Pushes the supplied set of screens onto the stack, in order.void
ScreenStack.push
(ScreenStack.Screen screen, ScreenStack.Transition trans) Pushes the supplied screen onto the stack, making it the visible screen.void
ScreenStack.remove
(ScreenStack.Predicate pred, ScreenStack.Transition trans) Removes all screens that match the supplied predicate, from lowest in the stack to highest.boolean
ScreenStack.remove
(ScreenStack.Screen screen, ScreenStack.Transition trans) Removes the specified screen from the stack.void
ScreenStack.replace
(ScreenStack.Screen screen, ScreenStack.Transition trans) Pops the current screen from the top of the stack and pushes the supplied screen on as its replacement. -
Uses of ScreenStack.Transition in tripleplay.game.trans
Subclasses of ScreenStack.Transition in tripleplay.game.transModifier and TypeClassDescriptionclass
AbstractTransition<T extends AbstractTransition<T>>
A base class for transitions that handles duration and the PITA machinery to case return values to the right type.class
Fades the new screen in front of the old one.class
Flips the current screen over, revealing the new screen as if it were on the reverse side of the current screen.class
InterpedTransition<T extends InterpedTransition<T>>
Handles shared code for transitions that use an interpolation.class
Opens the current screen like the page of a book, revealing the new screen beneath.class
Slides the old screen off, and the new screen on right behind.