Ejemplo n.º 1
0
 public void ChangeScreenCrossFade(Screen screen, int lengthInMilliseconds)
 {
     screen.Initialize();
     transitionToScreen = screen;
     transition         = new TransitionCrossFade(lengthInMilliseconds);
 }
Ejemplo n.º 2
0
 public void ChangeScreenPush(Screen screen, int lengthInMilliseconds, Direction pushDirection)
 {
     screen.Initialize();
     transitionToScreen = screen;
     transition         = new TransitionPush(lengthInMilliseconds, pushDirection);
 }
Ejemplo n.º 3
0
 public void ChangeScreenFade(Screen screen, int lengthInMilliseconds, Color fadeToColor)
 {
     screen.Initialize();
     transitionToScreen = screen;
     transition         = new TransitionFade(lengthInMilliseconds, fadeToColor);
 }
Ejemplo n.º 4
0
 public void ChangeScreenSlide(Screen screen, int lengthInMilliseconds, Direction slideDirection)
 {
     screen.Initialize();
     transitionToScreen = screen;
     transition         = new TransitionSlide(lengthInMilliseconds, slideDirection);
 }
Ejemplo n.º 5
0
 public void ChangeScreenTransition(Screen screen, ScreenTransition transition)
 {
     screen.Initialize();
     transitionToScreen = screen;
     this.transition    = transition;
 }