summaryrefslogtreecommitdiffhomepage
path: root/host/simu/model/table_eurobot2012.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/model/table_eurobot2012.py')
-rw-r--r--host/simu/model/table_eurobot2012.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/simu/model/table_eurobot2012.py b/host/simu/model/table_eurobot2012.py
index 38960513..36dbf12f 100644
--- a/host/simu/model/table_eurobot2012.py
+++ b/host/simu/model/table_eurobot2012.py
@@ -90,4 +90,9 @@ class Table (simu.model.table.Table):
# Add everything to obstacles.
self.obstacles += self.coins
self.obstacles += self.gold_bars
+ # Add totem as obstacles.
+ for i in (-1, 1):
+ o = RectangularObstacle ((250, 250), 3)
+ o.pos = (1500 + i * 400, 1000)
+ self.obstacles.append (o)