public UneForme(PlayForm menuForm, bool isM) { InitializeComponent(); this.menu = menuForm; this.isMachine = isM; Point p = new Point(50, 120); game = new grille(100, p, ref MtrTextBox); if (isM) { this.PlayerMachine = new Computer(ref game); } }
public Computer(ref grille gg) { LstPoint = new List <Point2D>(); this.game = gg; this.preConstructorCmp(); }