Bastien Sevajol 7 years ago
parent
commit
fc3baeb0f9
1 changed files with 7 additions and 7 deletions
  1. 7 7
      sandbox/tile/run.py

+ 7 - 7
sandbox/tile/run.py View File

@@ -30,13 +30,13 @@ def main(map_dir_path: str, seed_value: int=42):
30 30
     simulation = TileStrategySimulation(config)
31 31
     subjects = TileStrategySubjects(simulation=simulation)
32 32
 
33
-    man = Man(
34
-        config=config,
35
-        simulation=simulation,
36
-        position=(0, 0),
37
-    )
38
-    man.position = 0, 0
39
-    subjects.append(man)
33
+    for position in ((0, 0), (5, 3), (10, 6)):
34
+        man = Man(
35
+            config=config,
36
+            simulation=simulation,
37
+            position=position,
38
+        )
39
+        subjects.append(man)
40 40
 
41 41
     simulation.subjects = subjects
42 42