public void SetMapColumn(int map, int mapColumn, MapColumn value) { if (GetMap(map) == null) { SetMap(map, new Map()); } this[map][mapColumn] = value; }
public MapColumn GetMapColumn(int map, int mapColumn, bool autoCreate = false) { var result = GetMap(map) == null ? null : this[map][mapColumn]; if (result == null && autoCreate) { result = new MapColumn(); SetMapColumn(map, mapColumn, result); } return result; }
public void SetMapColumn(int atlasColumn, int atlasRow, int map, int mapColumn, MapColumn value) { if (GetMap(atlasColumn, atlasRow, map) == null) { SetMap(atlasColumn, atlasRow, map, new Map()); } this[atlasColumn][atlasRow][map][mapColumn] = value; }
public void SetMapColumn(int mapColumn, MapColumn value) { this[mapColumn] = value; }
public MapColumn GetMapColumn(int atlas,int atlasColumn,int atlasRow,int map, int mapColumn, bool autoCreate = false) { var result = GetMap(atlas, atlasColumn, atlasRow, map) == null ? null : this[atlas][atlasColumn][atlasRow][map][mapColumn]; if (result == null && autoCreate) { result = new MapColumn(); SetMapColumn(atlas, atlasColumn, atlasRow, map, mapColumn, result); } return result; }