Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }