Browse Source

Rename Rockes in Environment

Bastien Sevajol 9 years ago
parent
commit
6c35e3d240

+ 2 - 2
intelligine/display/pygame/visualisation.py View File

1
 import pygame
1
 import pygame
2
 from intelligine.synergy.Colony import Colony
2
 from intelligine.synergy.Colony import Colony
3
-from intelligine.synergy.Rocks import Rocks
3
+from intelligine.synergy.Environment import Environment
4
 from intelligine.synergy.object.StockedFood import StockedFood
4
 from intelligine.synergy.object.StockedFood import StockedFood
5
 from synergine.synergy.Simulation import Simulation
5
 from synergine.synergy.Simulation import Simulation
6
 from synergine_xyz.display.PygameImageRotate import PygameImageRotate
6
 from synergine_xyz.display.PygameImageRotate import PygameImageRotate
164
     },
164
     },
165
     'collection': {
165
     'collection': {
166
         'ant': Colony,
166
         'ant': Colony,
167
-        'env': Rocks  # TODO: Nom plus generique
167
+        'env': Environment
168
     },
168
     },
169
     'object': {
169
     'object': {
170
         'ant': Ant,
170
         'ant': Ant,

intelligine/synergy/Rocks.py → intelligine/synergy/Environment.py View File

2
 from synergine.synergy.collection.SynergyCollection import SynergyCollection
2
 from synergine.synergy.collection.SynergyCollection import SynergyCollection
3
 
3
 
4
 
4
 
5
-class Rocks(SynergyCollection):
5
+class Environment(SynergyCollection):
6
     """
6
     """
7
     TODO: Rename in Environment
7
     TODO: Rename in Environment
8
     """
8
     """

intelligine/synergy/RocksConfiguration.py → intelligine/synergy/EnvironmentConfiguration.py View File

2
 from intelligine.synergy.object.Rock import Rock
2
 from intelligine.synergy.object.Rock import Rock
3
 
3
 
4
 
4
 
5
-class RocksConfiguration(Configuration):
5
+class EnvironmentConfiguration(Configuration):
6
 
6
 
7
     def get_start_objects(self, collection, context):
7
     def get_start_objects(self, collection, context):
8
 
8