summaryrefslogtreecommitdiff
path: root/docs/samples/transitions.xml
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-08 04:34:03 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-07-08 04:34:03 +0000
commit6d0f60a808f419d6acaf54f020b2d53a00d843ba (patch)
tree0005d8e8b48a1a44afa0f40cc10829f79f217168 /docs/samples/transitions.xml
parentc3e70f0b74a77d8aa0296c7991eb9768280426da (diff)
docs: Added document modification documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@574 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'docs/samples/transitions.xml')
-rw-r--r--docs/samples/transitions.xml7
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>