<?xml version="1.0" encoding="ISO-8859-1" ?>
<Template nom="Déplacement" desc="Déplacement d&apos;un objet avec des touches" param1="Objet à déplacer" param2="Vitesse de déplacement" param3="Touche haut" param4="Touche gauche" param5="Touche bas" param6="Touche droite" param7="" param8="">
    <Events>
        <Event>
            <Type value="AND" />
            <Conditions>
                <Condition>
                    <Type value="KeyPressed" loc="true" Contraire="false" />
                    <Parametre value="_PARAM6_" />
                </Condition>
            </Conditions>
            <Actions>
                <Action>
                    <Type value="AddForceXY" loc="false" />
                    <Parametre value="_PARAM1_" />
                    <Parametre value="_PARAM2_" />
                    <Parametre value="0" />
                    <Parametre value="0" />
                </Action>
            </Actions>
        </Event>
        <Event>
            <Type value="AND" />
            <Conditions>
                <Condition>
                    <Type value="KeyPressed" loc="true" Contraire="false" />
                    <Parametre value="_PARAM3_" />
                </Condition>
            </Conditions>
            <Actions>
                <Action>
                    <Type value="AddForceXY" loc="false" />
                    <Parametre value="_PARAM1_" />
                    <Parametre value="0" />
                    <Parametre value="-_PARAM2_" />
                    <Parametre value="0" />
                </Action>
            </Actions>
        </Event>
        <Event>
            <Type value="AND" />
            <Conditions>
                <Condition>
                    <Type value="KeyPressed" loc="true" Contraire="false" />
                    <Parametre value="_PARAM5_" />
                </Condition>
            </Conditions>
            <Actions>
                <Action>
                    <Type value="AddForceXY" loc="false" />
                    <Parametre value="_PARAM1_" />
                    <Parametre value="0" />
                    <Parametre value="_PARAM2_" />
                    <Parametre value="0" />
                </Action>
            </Actions>
        </Event>
        <Event>
            <Type value="AND" />
            <Conditions>
                <Condition>
                    <Type value="KeyPressed" loc="true" Contraire="false" />
                    <Parametre value="_PARAM4_" />
                </Condition>
            </Conditions>
            <Actions>
                <Action>
                    <Type value="AddForceXY" loc="false" />
                    <Parametre value="_PARAM1_" />
                    <Parametre value="-_PARAM2_" />
                    <Parametre value="0" />
                    <Parametre value="0" />
                </Action>
            </Actions>
        </Event>
    </Events>
</Template>
