/// <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); }
private GridOutlineShape(int xSize, int ySize, GridElement tile) : base(xSize, ySize) { this.baseShape = new ExplicitOutlineShape(xSize, ySize); this.Apply(tile); }