view dep/pugixml/docs/samples/transitions.xml @ 151:54744a48a7d7

last commit part 2: struct init with {} is valid syntax, actually
author Paper <mrpapersonic@gmail.com>
date Tue, 14 Nov 2023 16:31:21 -0500
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>