Exemplo n.º 1
0
 // Siiic constructor mate
 public ScreenTransitionFade(float fadeSpeed, GameScreen current, GameScreen next, bool clearOldScreen) : base(current, next, clearOldScreen)
 {
     this.fadeSpeed = fadeSpeed;
 }
Exemplo n.º 2
0
 // Change Screen without loading content
 public void ChangeScreen(GameScreen screen)
 {
     currentScreen = screen;
     screen.Start();
 }
Exemplo n.º 3
0
 // EMpty constructor best constructor
 public ScreenTransitionRectangle(GameScreen currentScreen, GameScreen newScreen, bool clearOldScreen) : base(currentScreen, newScreen, clearOldScreen)
 {
 }