view dep/pugixml/docs/samples/transitions.xml @ 273:f31305b9f60a

*: various code safety changes this also makes the code build on Qt 5.7. I can't test it though because I don't have it working... FAIL!
author Paper <paper@paper.us.eu.org>
date Thu, 18 Apr 2024 16:53:17 -0400
parents d10b6c6b432e
children
line wrap: on
line source

<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>