Esempio n. 1
0
 //constructor
 public EView()
 {
     InitializeComponent();
     _controller = new EController(this);
     // for futur for change color
     colorWhite = Color.Brown;
     colorBlack = Color.Beige;
     colorGreen = Color.Green;
 }
Esempio n. 2
0
 //constructor
 public EModel(EController controller)
 {
     this.Controller   = controller;
     Pawns             = new List <Pown>();
     NumberMovementB   = 0;
     NumberMovementW   = 0;
     Turn              = true;
     TimeTimer         = new Timer();
     TimeTimer.Tick   += new EventHandler(TimeTimer_Tick);
     TimeTimer.Enabled = true;
     Pause             = false;
 }