Esempio n. 1
0
 public FieldCanvas(GraphicsDevice device, int width, int height)
     : base(device, width, height)
 {
     this.m_cellsCanvas = new CellsCanvas(device, width, height);
     this.Init();
 }
Esempio n. 2
0
 public FieldCanvas(GraphicsDevice device, bool createTexture = true)
     : base(device, createTexture)
 {
     this.m_cellsCanvas = new CellsCanvas(device, createTexture);
     this.Init();
 }