aboutsummaryrefslogtreecommitdiff
path: root/config/MobileTest.xml
diff options
context:
space:
mode:
authorGravatar eugue <eug.sun@gmail.com>2011-01-27 14:28:20 -0500
committerGravatar eugue <eug.sun@gmail.com>2011-01-27 14:28:20 -0500
commit328464219a02c014caf1608a27a898900cad8456 (patch)
tree488008ea4a832f101631758b0ea6f11fb5209f2f /config/MobileTest.xml
parent82f99fc4583ca3cc9861a9fe30990a4a9ef162c4 (diff)
mobile shake behavior added.
Diffstat (limited to 'config/MobileTest.xml')
-rw-r--r--config/MobileTest.xml28
1 files changed, 25 insertions, 3 deletions
diff --git a/config/MobileTest.xml b/config/MobileTest.xml
index a318069..af94c25 100644
--- a/config/MobileTest.xml
+++ b/config/MobileTest.xml
@@ -207,10 +207,17 @@
<Class>behaviors.MoveBehavior</Class>
<Args>
<Id>move</Id>
- <XStep>5</XStep>
- <YStep>5</YStep>
+ <XStep>3</XStep>
+ <YStep>3</YStep>
</Args>
</Behavior>
+ <Behavior>
+ <Class>behaviors.MobileShakeBehavior</Class>
+ <Args>
+ <Id>mobileshake</Id>
+ <SizeMult>3</SizeMult>
+ </Args>
+ </Behavior>
<Behavior>
<Class>behaviors.BehaviorChain</Class>
<Args>
@@ -222,9 +229,24 @@
<Id>move</Id>
<Id>decay</Id>
</ChainedBehaviors>
- <RenderToScreen>True</RenderToScreen>
+ <RenderToScreen>True</RenderToScreen>
<Mapper>gaussmap</Mapper>
</Args>
</Behavior>
+ <Behavior>
+ <Class>behaviors.BehaviorChain</Class>
+ <Args>
+ <Id>shakeanddecay</Id>
+ <Inputs>
+ <Id>tcp</Id>
+ </Inputs>
+ <ChainedBehaviors>
+ <Id>mobileshake</Id>
+ <Id>slowdecay</Id>
+ </ChainedBehaviors>
+ <RenderToScreen>True</RenderToScreen>
+ <Mapper>simplemap</Mapper>
+ </Args>
+ </Behavior>
</BehaviorConfiguration>
</LightInstallation>