diff options
Diffstat (limited to 'docs/samples/transitions.xml')
-rw-r--r-- | docs/samples/transitions.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/samples/transitions.xml b/docs/samples/transitions.xml new file mode 100644 index 0000000..9c261fc --- /dev/null +++ b/docs/samples/transitions.xml @@ -0,0 +1,7 @@ +<transition source="idle" target="run">
+ <event name="key_up|key_shift" />
+</transition>
+<transition source="run" target="attack">
+ <event name="key_ctrl" />
+ <condition expr="weapon != null" />
+</transition>
|