예제 #1
0
        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);
            }
        }
예제 #2
0
 public Computer(ref grille gg)
 {
     LstPoint  = new List <Point2D>();
     this.game = gg;
     this.preConstructorCmp();
 }