summaryrefslogtreecommitdiff
path: root/docs/samples/transitions.xml
blob: a195ef8e58bd1489c001f473b86b26bf587d7dca (plain)
1
2
3
4
5
6
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>