public Controller(int w, int h, int xPixels, int yPixels, IImageSource imageSource)
 {
     this.layout = new Layout(w, h);
     this.xPixels = xPixels;
     this.yPixels = yPixels;
     this.imageSource = imageSource;
     round = 0;
     rounds = new int[w, h];
 }
 public Layout(Layout layout)
 {
     this.width = layout.width;
     this.height = layout.height;
     this.cells = (Cell[,])layout.cells.Clone();
 }
示例#3
0
 public Layout(Layout layout)
 {
     this.width  = layout.width;
     this.height = layout.height;
     this.cells  = (Cell[, ])layout.cells.Clone();
 }