<?xml version="1.0" encoding="utf-8"?>
<actor id="id968946" PGFVersion="0.19" GSCVersion="0.10.5">
  <attributes>
    <text id="name">bar</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">120</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">bar64x32</image>
    <text id="tags" />
    <boolean id="preloadArt">true</boolean>
  </attributes>
  <behaviors>
    <behavior id="id270542" class="AccelerateBehavior" enabled="false">
      <attributes>
        <text id="name">Accelerate</text>
        <text id="bundleName">Accelerate.behavior</text>
        <angle id="direction">90</angle>
        <index id="space">1</index>
        <real id="acceleration">500</real>
      </attributes>
    </behavior>
    <behavior id="id344704" 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">66</text>
      </attributes>
    </behavior>
    <behavior id="id681910" 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="id263539" 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="id286190" 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="id309815" 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="id230609" 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="id794881" 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="id418476" 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="id835868" 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>
  </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">0</integer>
        <integer id="tileHeight">0</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">500</real>
        <real id="friction">10</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>