Browse Source

Rename Rockes in Environment

Bastien Sevajol 8 years ago
parent
commit
6c35e3d240

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

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

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

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

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

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