Exemplo n.º 1
0
 public GameObjsCreator(Pipe startPipe, Floor flr, MrioGame gm, Mario mrio)
 {
     lastX          = 0;
     rndm           = new Random();
     this.startPipe = startPipe;
     this.flr       = flr;
     this.gm        = gm;
     this.mrio      = mrio;
 }
Exemplo n.º 2
0
 static void Main()
 {
     shouldRestart = true;
     while (shouldRestart)
     {
         shouldRestart = false;
         using (var game = new MrioGame())
             game.Run();
     }
 }