Exemple #1
0
 public void SetMapColumn(int map, int mapColumn, MapColumn value)
 {
     if (GetMap(map) == null)
     {
         SetMap(map, new Map());
     }
     this[map][mapColumn] = value;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 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;
 }
Exemple #4
0
 public void SetMapColumn(int mapColumn, MapColumn value)
 {
     this[mapColumn] = value;
 }
Exemple #5
0
 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;
 }