protected void SetField(int i, int j, Field f, Map m) { m.SetField(i, j, f); }
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); }