Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Exemplo n.º 1
0
 public PiBackdoor(Game theGame, MainWindow mainWindow)
 {
     this.myGame = theGame;
     this.myWindow = mainWindow;
     this.timer.Tick += new EventHandler(timer_Tick);
     this.timer.Interval = new TimeSpan(0, 0, 15);
     this.timer.Start();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Parent object of the game
 /// </summary>
 public Game(QuestionCollection qCollectionIn, MainWindow myMain, Random myPRNG)
 {
     this.PlayerName = "";
     this.PlayerEMail = "";
     this.PlayerStarted = false;
     this.FoneAFriend = false;
     this.AskTheAudiance = false;
     this.FiftyFifty = false;
     this.MoreTime = false;
     this.Level = 0;
     this.Seconds = 0;
     this.qCollection = qCollectionIn;
     this.MyMain = myMain;
     this.timer.Tick += new EventHandler(timer_Tick);
     this.timer.Interval = new TimeSpan(0, 0, 1);
     this.rngPRNG = myPRNG;
 }