Esempio n. 1
0
 /// <summary>
 /// Applies the given tile on the baseShape at the given location.
 /// </summary>
 /// <param name="tile"></param>
 /// <param name="xLeft"></param>
 /// <param name="yTop"></param>
 private void Apply(GridElement tile, int xLeft, int yTop)
 {
     tile.Apply(baseShape, xLeft, yTop);
 }
Esempio n. 2
0
 private GridOutlineShape(int xSize, int ySize, GridElement tile)
     : base(xSize, ySize)
 {
     this.baseShape = new ExplicitOutlineShape(xSize, ySize);
     this.Apply(tile);
 }