示例#1
0
 public Face(MainWindow _mainWindow)
 {
     mainWindow = _mainWindow;
     canvas = mainWindow.canvas;
 }
示例#2
0
 public Tile(int _x, int _y, Rectangle _rect, MainWindow _mainWindow)
 {
     x = _x; // These are the array coords
     y = _y;
     rect = _rect;
     mainWindow = _mainWindow;
     tileArray = mainWindow.tileArray;
     tileSize = mainWindow.TileSize;
     canvas = mainWindow.canvas;
 }