summaryrefslogtreecommitdiffhomepage
path: root/host/simu/model/table_eurobot2013.py
diff options
context:
space:
mode:
authorNicolas Schodet2013-05-01 14:08:10 +0200
committerNicolas Schodet2013-05-03 23:10:18 +0200
commit047f5149364115b9b13bf0afe8990f15b699fb95 (patch)
tree853682045a082cc2e4540ce4ad804b62943de8cf /host/simu/model/table_eurobot2013.py
parent06a8ecd50af9289e2de49e5e95cfcf3fc617f61e (diff)
digital/io-hub/src/apbirthday: the cake is not an obstacle
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 0181ac00..2f9c9680 100644
--- a/host/simu/model/table_eurobot2013.py
+++ b/host/simu/model/table_eurobot2013.py
@@ -66,6 +66,8 @@ class Table (simu.model.table.Table):
add_candle_circle ((1500, 2000), 450, pi + pi / 24, pi / 12, colors, 2)
cake = RoundObstacle (500, 0)
cake.pos = (1500, 2000)
+ cake_us = RoundObstacle (400, 4)
+ cake_us.pos = (1500, 2000)
# Glasses.
self.glasses = [ ]
def add_glass (pos):
@@ -119,6 +121,7 @@ class Table (simu.model.table.Table):
add_gifts ((2400, 0))
# Add everything to obstacles.
self.obstacles.append (cake)
+ self.obstacles.append (cake_us)
self.obstacles += self.candles
self.obstacles += self.glasses
self.obstacles += self.plates