public Window(int width, int height, GameManager manager)
     : base(width, height)
 {
     Gestionnaire = manager;
     manager.Attach(this);
     tableau = Gestionnaire.TableauDeJeu;
     Touches = new Clavier(this);
     Graphismes = new Graphisme(this);
     //this.
     //Run(60.0);  // Run the game at 60 updates per second
 }
 public Window(int width, int height, GameManager manager)
     : base(width, height)
 {
     Gestionnaire = manager;
     manager.Attach(this);
     tableau    = Gestionnaire.TableauDeJeu;
     Touches    = new Clavier(this);
     Graphismes = new Graphisme(this);
     //this.
     //Run(60.0);  // Run the game at 60 updates per second
 }
 protected void AttachToGameManager(GameManager manager)
 {
     Gestionnaire = manager;
     Tableau      = manager.TableauDeJeu;
     if (Tableau == null)
     {
         throw new NullReferenceException("La grille est nulle !");
     }
     if (!QGSet)
     {
         QG.Simulation = this;
         QGSet         = true;
     }
     if (AttachedToManager)
     {
         return;
     }
     Attach(Gestionnaire);      // Le gestionnaire met à jours les classes système selon le jeu
     Gestionnaire.Attach(this); // Le jeu met à jour son tableau selon le gestionnaire
 }