aboutsummaryrefslogtreecommitdiff
path: root/behaviors/Expand.py
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-28 09:50:38 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-28 09:50:38 -0500
commit3319a58ecc391f9aac092ade45f9f50dc2af5aa6 (patch)
tree14a10dfef67608e1759f0a5c49b0057a1addec0b /behaviors/Expand.py
parentf103e47da5d563d1b8448bc021676ed7db0f529d (diff)
Finishing up for the demo
Diffstat (limited to 'behaviors/Expand.py')
-rw-r--r--behaviors/Expand.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/behaviors/Expand.py b/behaviors/Expand.py
index 323e71f..f017c16 100644
--- a/behaviors/Expand.py
+++ b/behaviors/Expand.py
@@ -15,7 +15,8 @@ class Expand(Behavior):
data = dict(data)
data['Left'] -= data['ExpandRate']
data['Right'] += data['ExpandRate']
- data['Location'] = "{x}>" + str(data['Left']) + ", {x}<" + str(data['Right'])
+ data['Location'] = "{x}>" + str(data['Left']) + ", {x}<" +\
+ str(data['Right'])+", {y}<50"
ret.append(data)
return (ret, [])