/// <summary> /// Adds an item to the square on the given position. /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <param name="item"></param> public void AddItem(int x, int y, Product.ProductModel item) { Rows[y, x].Product = item; }
public Tile(float squareSize) { Width = squareSize; Height = squareSize; Product = null; }
public Tile(float squareSize) { Width = squareSize; Height = squareSize; Product = null; }