<?xml version="1.0" encoding="utf-8"?>
<actor id="id793126" PGFVersion="0.19" GSCVersion="0.10.5">
  <attributes>
    <text id="name">謝慧民</text>
    <real id="time">0</real>
    <point id="position">
      <real id="x">0</real>
      <real id="y">0</real>
    </point>
    <size id="size">
      <real id="width">60</real>
      <real id="height">30</real>
    </size>
    <angle id="rotation">0</angle>
    <color id="color">
      <real id="red">1</real>
      <real id="green">1</real>
      <real id="blue">1</real>
      <real id="alpha">1</real>
    </color>
    <image id="image">name</image>
    <text id="tags" />
    <boolean id="preloadArt">true</boolean>
  </attributes>
  <behaviors>
    <behavior id="id879457" class="ConstrainAttributeBehavior" enabled="true">
      <attributes>
        <text id="name">Constrain Attribute</text>
        <text id="bundleName">ConstrainAttribute.behavior</text>
        <text id="targetAttribute">self.attributes.position.y</text>
        <text id="RHS">85</text>
      </attributes>
    </behavior>
    <behavior id="id411415" class="CollideBehavior" enabled="true">
      <attributes>
        <text id="name">Collide</text>
        <text id="bundleName">Collide.behavior</text>
        <text id="prototypeKey">id156392</text>
        <text id="actorTag">Ground</text>
        <index id="mode">0</index>
      </attributes>
    </behavior>
    <behavior id="id435968" class="RuleBehavior" enabled="true">
      <attributes>
        <text id="name">Rule</text>
        <text id="bundleName">Rule.behavior</text>
        <real id="compoundConditionKind">0</real>
      </attributes>
      <conditions>
        <condition id="id494969" eventType="overlaps or collides" pluginPredicateTypeIndex="0" class="Collision">
          <attributes>
            <text id="name">default name</text>
            <index id="conditionType">0</index>
          </attributes>
          <predicate type="collision">
            <attributes>
              <text id="prototypeKey">id156392</text>
              <text id="actorTag" />
              <real id="mode">0</real>
            </attributes>
          </predicate>
        </condition>
      </conditions>
      <behaviors>
        <behavior id="id855742" class="ConstrainAttributeBehavior" enabled="true">
          <attributes>
            <text id="name">Constrain Attribute</text>
            <text id="bundleName">ConstrainAttribute.behavior</text>
            <text id="targetAttribute">self.aspects.motion.attributes.linearVelocity.x</text>
            <text id="RHS">0</text>
          </attributes>
        </behavior>
      </behaviors>
    </behavior>
    <behavior id="id750349" class="RuleBehavior" enabled="true">
      <attributes>
        <text id="name">left_down</text>
        <text id="bundleName">Rule.behavior</text>
        <real id="compoundConditionKind">0</real>
      </attributes>
      <conditions>
        <condition id="id994381" eventType="key" pluginPredicateTypeIndex="0" class="Key">
          <attributes>
            <text id="name">default name</text>
            <index id="conditionType">0</index>
          </attributes>
          <predicate type="key">
            <attributes>
              <text id="mode">down</text>
              <text id="keyString">left</text>
            </attributes>
          </predicate>
        </condition>
      </conditions>
      <behaviors>
        <behavior id="id258501" class="ConstrainAttributeBehavior" enabled="true">
          <attributes>
            <text id="name">Constrain Attribute</text>
            <text id="bundleName">ConstrainAttribute.behavior</text>
            <text id="targetAttribute">self.aspects.motion.attributes.linearVelocity.x</text>
            <text id="RHS">-500</text>
          </attributes>
        </behavior>
      </behaviors>
      <elseBehaviors>
        <behavior id="id669803" class="ConstrainAttributeBehavior" enabled="true">
          <attributes>
            <text id="name">Constrain Attribute</text>
            <text id="bundleName">ConstrainAttribute.behavior</text>
            <text id="targetAttribute">self.aspects.motion.attributes.linearVelocity.x</text>
            <text id="RHS">0</text>
          </attributes>
        </behavior>
      </elseBehaviors>
    </behavior>
    <behavior id="id841586" class="RuleBehavior" enabled="true">
      <attributes>
        <text id="name">right_down</text>
        <text id="bundleName">Rule.behavior</text>
        <real id="compoundConditionKind">0</real>
      </attributes>
      <conditions>
        <condition id="id349388" eventType="key" pluginPredicateTypeIndex="0" class="Key">
          <attributes>
            <text id="name">default name</text>
            <index id="conditionType">0</index>
          </attributes>
          <predicate type="key">
            <attributes>
              <text id="mode">down</text>
              <text id="keyString">right</text>
            </attributes>
          </predicate>
        </condition>
      </conditions>
      <behaviors>
        <behavior id="id106940" class="ConstrainAttributeBehavior" enabled="true">
          <attributes>
            <text id="name">Constrain Attribute</text>
            <text id="bundleName">ConstrainAttribute.behavior</text>
            <text id="targetAttribute">self.aspects.motion.attributes.linearVelocity.x</text>
            <text id="RHS">500</text>
          </attributes>
        </behavior>
      </behaviors>
      <elseBehaviors>
        <behavior id="id277647" class="ConstrainAttributeBehavior" enabled="true">
          <attributes>
            <text id="name">Constrain Attribute</text>
            <text id="bundleName">ConstrainAttribute.behavior</text>
            <text id="targetAttribute">self.aspects.motion.attributes.linearVelocity.x</text>
            <text id="RHS">0</text>
          </attributes>
        </behavior>
      </elseBehaviors>
    </behavior>
    <behavior id="id255806" class="RuleBehavior" enabled="true">
      <attributes>
        <text id="name">Rule</text>
        <text id="bundleName">Rule.behavior</text>
        <real id="compoundConditionKind">0</real>
      </attributes>
      <conditions>
        <condition id="id772071" eventType="mouse position" pluginPredicateTypeIndex="0" class="AttributeCondition">
          <attributes>
            <index id="conditionType">1</index>
            <text id="subjectAttribute">game.attributes.id339306</text>
            <text id="name">default name</text>
          </attributes>
          <predicate type="number">
            <attributes>
              <text id="operator">&gt;=</text>
              <real id="RHS">150</real>
            </attributes>
          </predicate>
        </condition>
      </conditions>
      <behaviors>
        <behavior id="id708310" class="ChangeAttributeAction" enabled="true">
          <attributes>
            <text id="name">Change Attribute</text>
            <text id="bundleName">ChangeAttribute.behavior</text>
            <text id="targetAttribute">game.attributes.id214439</text>
            <text id="RHS">
              <expression>
                <reference keypath="game.attributes.id339306" />
              </expression>
            </text>
          </attributes>
        </behavior>
        <behavior id="id869658" class="ChangeSceneAction" enabled="true">
          <attributes>
            <text id="name">Change Scene</text>
            <text id="bundleName">ChangeScene.behavior</text>
            <text id="sceneKey">next</text>
            <boolean id="enableAdvertisement">false</boolean>
          </attributes>
        </behavior>
      </behaviors>
    </behavior>
  </behaviors>
  <aspects>
    <graphics>
      <attributes>
        <boolean id="visible">true</boolean>
        <enumeration id="blendingMode">0</enumeration>
        <enumeration id="horizontalWrap">0</enumeration>
        <enumeration id="verticalWrap">0</enumeration>
        <enumeration id="horizontalAnchor">0</enumeration>
        <enumeration id="verticalAnchor">0</enumeration>
        <boolean id="flipHorizontally">false</boolean>
        <boolean id="flipVertically">false</boolean>
        <integer id="tileWidth">30</integer>
        <integer id="tileHeight">15</integer>
      </attributes>
    </graphics>
    <motion>
      <attributes>
        <point id="linearVelocity">
          <real id="x">0</real>
          <real id="y">0</real>
        </point>
        <real id="angularVelocity">0</real>
        <real id="maxSpeed">0</real>
        <boolean id="applyMaxSpeed">false</boolean>
      </attributes>
    </motion>
    <physics>
      <attributes>
        <real id="density">1</real>
        <real id="friction">3</real>
        <real id="restitution">1</real>
        <boolean id="fixedRotation">true</boolean>
        <boolean id="movable">true</boolean>
        <enumeration id="collisionShape">0</enumeration>
        <real id="drag">0</real>
        <real id="angularDrag">0</real>
      </attributes>
    </physics>
  </aspects>
</actor>