public RowViewModels(int w, int p, Models.Entity.MapItems mapitem, int i, int j) { _item = mapitem; Width = w; Height = w; TopPad = i * (Width + p) + p; LeftPad = j * (Width + p) + p; }
public SingleGridMapItemViewModels(int w, int p, Models.Entity.MapItems mapitem, int i, int j, int typeid, int Rockcont, int colmcont) { SingleStorage = mapitem; Width = w; Height = w; TopPad = i * (Width + p) + p; LeftPad = j * (Width + p) + p; typeID = typeid; Rockt = Rockcont; Colmt = colmcont; }