<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<snippet
    attachedevent="false"
    class="scripts.Design_0_0_ScoreManager"
    classname="scripts.Design_0_0_ScoreManager"
    desc="Attach this behavior to your scenes to track the score."
    description="Attach this behavior to your scenes to track the score."
    design="true"
    drawOrder="0"
    id="0"
    name="Score Manager"
    oid="-1"
    package="scripts"
    shared="false"
    type="scene">
    <font
        default=""
        defaultValue=""
        desc="Select the font to use when displaying the score."
        dropdown=""
        fullname="Score Font"
        hidden="false"
        id="1"
        name="_ScoreFont"
        order="2"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc="Horizontal offset from the top left corner of the screen to display the score."
        dropdown=""
        fullname="X Offset"
        hidden="false"
        id="2"
        name="_XOffset"
        order="3"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc="Vertical offset from the top left corner of the screen to display the score."
        dropdown=""
        fullname="Y Offset"
        hidden="false"
        id="3"
        name="_YOffset"
        order="4"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc="Minimum number of digits to display on screen.  Score will be padded on the left with zeros if the current score does not use up all digits."
        dropdown=""
        fullname="Minimum Digits"
        hidden="false"
        id="4"
        name="_MinimumDigits"
        order="5"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc=""
        dropdown=""
        fullname="Current Score"
        hidden="true"
        id="6"
        name="_CurrentScore"
        order="6"/>
    <text
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Game Attribute"
        hidden="true"
        id="7"
        name="_GameAttribute"
        order="7"/>
    <text
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Formatted Score"
        hidden="true"
        id="8"
        name="_FormattedScore"
        order="8"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc=""
        dropdown=""
        fullname="Current Length"
        hidden="true"
        id="9"
        name="_CurrentLength"
        order="9"/>
    <boolean
        default="false"
        defaultValue="false"
        desc="Should the score be persistent? (e.g. the same between scenes)."
        dropdown=""
        fullname="Persistent?"
        hidden="false"
        id="10"
        name="_Persistent"
        order="0"/>
    <blocks>
        <receiver blockID="6" id="1"/>
        <receiver blockID="7" id="2"/>
        <receiver blockID="8" id="3"/>
        <receiver blockID="503" id="4"/>
        <receiver blockID="3" id="5"/>
        <receiver blockID="4" id="6"/>
        <receiver blockID="5" id="7"/>
        <receiver blockID="1" id="8"/>
        <receiver blockID="2" id="9"/>
        <receiver blockID="9" id="10"/>
    </blocks>
    <events>
        <event
            displayName="Created"
            enabled="true"
            id="1"
            name="init"
            order="1"
            repeats="true"/>
        <event
            displayName="Drawing"
            enabled="true"
            id="3"
            name="draw"
            order="3"
            repeats="true"/>
        <event
            displayName="IncrementScore"
            enabled="true"
            id="4"
            name="receiver-1-7"
            order="7"
            repeats="true"/>
        <event
            displayName="DecrementScore"
            enabled="true"
            id="5"
            name="receiver-2-8"
            order="8"
            repeats="true"/>
        <event
            displayName="SetScoreFont"
            enabled="true"
            id="7"
            name="receiver-3-9"
            order="9"
            repeats="true"/>
        <event
            displayName="SetDrawOffset"
            enabled="true"
            id="8"
            name="receiver-5-4"
            order="10"
            repeats="true"/>
        <event
            displayName="GetXOffset"
            enabled="true"
            id="9"
            name="receiver-6-5"
            order="12"
            repeats="true"/>
        <event
            displayName="GetYOffset"
            enabled="true"
            id="10"
            name="receiver-7-6"
            order="13"
            repeats="true"/>
        <event
            displayName="GetScore"
            enabled="true"
            id="12"
            name="receiver-8-2"
            order="14"
            repeats="true"/>
        <event
            displayName="SetScore"
            enabled="true"
            id="13"
            name="receiver-9-3"
            order="15"
            repeats="true"/>
        <event
            displayName="GetFont"
            enabled="true"
            id="14"
            name="event-custom-block"
            order="16"
            repeats="true"/>
        <event
            displayName="UpdateGlobalScore"
            enabled="true"
            id="15"
            name="event-custom"
            order="5"
            repeats="true"/>
        <event
            displayName="FormatScore"
            enabled="true"
            id="16"
            name="event-custom"
            order="4"
            repeats="true"/>
    </events>
</snippet>
