Browse Source

fix imports of sandboxs

Bastien Sevajol 9 years ago
parent
commit
b33ca6835c

+ 2 - 1
intelligine/sandbox/all/all.py View File

1
 from os import getcwd
1
 from os import getcwd
2
-from intelligine.display.pygame.visualisation import get_standard_extract_from_map, map_config
2
+from intelligine.display.pygame.config import map_config
3
+from intelligine.display.pygame.visualisation import get_standard_extract_from_map
3
 
4
 
4
 
5
 
5
 simulations, visualisation = get_standard_extract_from_map(getcwd()+"/intelligine/sandbox/all/map.tmx",
6
 simulations, visualisation = get_standard_extract_from_map(getcwd()+"/intelligine/sandbox/all/map.tmx",

+ 2 - 1
intelligine/sandbox/exploration/exploration.py View File

1
 from os import getcwd
1
 from os import getcwd
2
-from intelligine.display.pygame.visualisation import get_standard_extract_from_map, map_config
2
+from intelligine.display.pygame.config import map_config
3
+from intelligine.display.pygame.visualisation import get_standard_extract_from_map
3
 
4
 
4
 
5
 
5
 simulations, visualisation = get_standard_extract_from_map(getcwd()+"/intelligine/sandbox/exploration/map.tmx",
6
 simulations, visualisation = get_standard_extract_from_map(getcwd()+"/intelligine/sandbox/exploration/map.tmx",