summaryrefslogtreecommitdiff
path: root/host/simu/model/table_eurobot2013.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/simu/model/table_eurobot2013.py')
-rw-r--r--host/simu/model/table_eurobot2013.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/simu/model/table_eurobot2013.py b/host/simu/model/table_eurobot2013.py
index 5fb663f4..c0d8b27d 100644
--- a/host/simu/model/table_eurobot2013.py
+++ b/host/simu/model/table_eurobot2013.py
@@ -57,6 +57,8 @@ class Table (simu.model.table.Table):
colors = ([ False ] + colors_r[0:3] + [ None, None, None, None ]
+ colors_r[3:6] + [ True ])
add_candle_circle ((1500, 2000), 450, pi + pi / 24, pi / 12, colors, 2)
+ cake = RoundObstacle (500, 0)
+ cake.pos = (1500, 2000)
# Glasses.
self.glasses = [ ]
def add_glass (pos):
@@ -108,6 +110,7 @@ class Table (simu.model.table.Table):
add_gifts ((1800, 0))
add_gifts ((2400, 0))
# Add everything to obstacles.
+ self.obstacles.append (cake)
self.obstacles += self.candles
self.obstacles += self.glasses
self.obstacles += self.cherries