Example #1
0
 public Cell(bool empty, int coinColor)
 {
     //creates a cell with a specif color
     _Empty = empty;
     _c     = new Coin(coinColor);
 }
Example #2
0
 public void setCoinColor(Coin co)
 {
     _c.setColor(co.getColor());
     _Empty = false;
 }
Example #3
0
 public Cell()
 {
     //create a empty cell
     _c     = new Coin(2);
     _Empty = true;
 }