12345678910111213141516171819202122232425 |
- from xyworld.display.object.pygame.PygameImage import PygameImage
- from socialintengine.synergy.object.Bug import Bug
- from socialintengine.synergy.object.ant.Ant import Ant
- from socialintengine.synergy.object.Rock import Rock
- from os import getcwd
-
- # TODO: Url relative au fichier
- ant = PygameImage(getcwd()+'/socialintengine/display/pygame/image/ant2.png')
- bug = PygameImage(getcwd()+'/socialintengine/display/pygame/image/ant2.png')
- rock = PygameImage(getcwd()+'/socialintengine/display/pygame/image/rock.png')
-
- visualisation = {
- 'window': {},
- 'objects': {
- Ant: {
- 'default': ant
- },
- Bug: {
- 'default': bug
- },
- Rock: {
- 'default': rock
- }
- }
- }
|