public static Echiquier Instance() { if (_me == null) { _me = new Echiquier(); } return(_me); }
private volatile bool stop, startThread, startGame; //Gère les boucles du thread public Jeu(Form1 form) { this.form = form; ech = Echiquier.Instance(); msg = ""; jouer = new String[3]; fin = rejouer = 0; stop = startGame = false; startThread = true; }