public WelcomeWindow(Game game, MainWindow mainWindow) { this.Game = game; this.MainWindow = mainWindow; this.MainScaleTransform = new ScaleTransform(0.3, 0.3, 0, 0); //test gesture var border = new Border(); var tap = new TapProcessor(); border.AddGesture(tap); this.Game.State = GameState.Sleeping; this.Game.Sounds.playTheme(); show(); }