Пример #1
0
 protected void SetField(int i, int j, Field f, Map m)
 {
     m.SetField(i, j, f);
 }
Пример #2
0
 protected void CreateField(int textid, int index , Map m)
 {
     Field f = new Field(m.textures[textid], false);
     int x = index%m.Width;
     int y = index/m.Width;
     m.SetField(x, y, f);
 }