aboutsummaryrefslogtreecommitdiff
path: root/config/Demo.xml
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-02-12 15:59:59 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-02-12 15:59:59 -0500
commit4d62e1152241854ab864142d827d735d84405078 (patch)
tree2589c6a37721e1b8362c8e8c6a580c8c185b2f86 /config/Demo.xml
parentb45b9079c5decd720d8275378bb0d6dc172c6234 (diff)
Modified the test code to automatically pick up new tests. Just add your test file to
tests/__init__.py. Fixed a bug in ZigZagLayout. Added the BehaviorQuerySystem to allow querying on behaviors. Added the "ModulateColor" behavior which will continually shift a color along the HSV plane. Added TestBQS to test the behavior query system. Modified Behavior to have a getLastOutput and setLastOutput method.
Diffstat (limited to 'config/Demo.xml')
-rw-r--r--config/Demo.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/config/Demo.xml b/config/Demo.xml
index 4e811ba..67e9811 100644
--- a/config/Demo.xml
+++ b/config/Demo.xml
@@ -126,6 +126,7 @@
<Id>movebounce</Id>
<ChainedBehaviors>
<Id>xymove</Id>
+ <Id>colorshift</Id>
<Id>ybounce</Id>
<Id>xbounce</Id>
</ChainedBehaviors>
@@ -206,6 +207,12 @@
</Args>
</Behavior>
<Behavior>
+ <Class>behaviors.ColorShift</Class>
+ <Args>
+ <Id>colorshift</Id>
+ </Args>
+ </Behavior>
+ <Behavior>
<Class>behaviors.BehaviorChain</Class>
<Args>
<Id>mousechaser</Id>
@@ -217,7 +224,7 @@
<Id>square</Id>
<Id>singleframe</Id>
</ChainedBehaviors>
- <RenderToScreen>True</RenderToScreen>
+ <RenderToScreen>False</RenderToScreen>
</Args>
</Behavior>
<Behavior Id="running">