<actor PGFVersion="0.13" GSCVersion="0.8.2" id="id585757">
	<aspects>
		<graphics>
			<attributes>
				<boolean id="visible">true</boolean>
				<enumeration id="blendingMode">0</enumeration>
				<enumeration id="horizontalWrap">0</enumeration>
				<enumeration id="verticalWrap">0</enumeration>
			</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">false</boolean>
				<boolean id="movable">true</boolean>
				<enumeration id="collisionShape">0</enumeration>
			</attributes>
		</physics>
	</aspects>
	<attributes>
		<text id="name">item</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">100</real>
			<real id="height">100</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>
		<text id="image">item_normal.png</text>
		<integer id="id282483" name="itemNumber">0</integer>
	</attributes>
	<behaviors>
		<behavior id="id531217" class="AssignAttributeAction">
			<attributes>
				<text id="name">Change Attribute</text>
				<text id="bundleName">ChangeAttribute.behavior</text>
				<text id="targetAttribute">self.attributes.position.y</text>
				<text id="RHS">
					<expression>
						<reference keypath="game.attributes.id158457" />
					</expression>
				</text>
			</attributes>
		</behavior>
		<behavior id="id213650" class="DisplayTextBehavior">
			<attributes>
				<text id="name">Display Text</text>
				<text id="bundleName">DisplayText.behavior</text>
				<text id="text">
					<expression>
						<reference keypath="self.attributes.id282483" />
						<string>+1</string>
					</expression>
				</text>
				<text id="font">Arial</text>
				<real id="size">30</real>
				<index id="alignment">1</index>
				<color id="color">
					<real id="red">0.2</real>
					<real id="green">0.2</real>
					<real id="blue">0.2</real>
					<real id="alpha">1</real>
				</color>
			</attributes>
		</behavior>
		<behavior id="id402311" class="ConstrainAttributeBehavior">
			<attributes>
				<text id="name">Constrain Attribute</text>
				<text id="bundleName">ConstrainAttribute.behavior</text>
				<text id="targetAttribute">self.attributes.position.x</text>
				<text id="RHS">
					<expression>
						<reference keypath="game.attributes.id192728" />
						<string>-(</string>
						<reference keypath="game.attributes.id679538" />
						<string>/2)+(</string>
						<reference keypath="self.attributes.size.width" />
						<string>/2)+(</string>
						<reference keypath="self.attributes.id282483" />
						<string>*(</string>
						<reference keypath="self.attributes.size.width" />
						<string>+</string>
						<reference keypath="game.attributes.id295235" />
						<string>))</string>
					</expression>
				</text>
			</attributes>
		</behavior>
		<behavior id="id307527" class="RuleBehavior">
			<attributes>
				<text id="name">Selected Image</text>
				<text id="bundleName">Rule.behavior</text>
				<real id="compoundConditionKind">0</real>
			</attributes>
			<conditions>
				<condition eventType="mouse button" id="id607872">
					<attributes>
						<index id="conditionType">1</index>
						<text id="subjectAttribute">game.attributes.id665196</text>
					</attributes>
					<predicate type="number">
						<attributes>
							<text id="operator">=</text>
							<real id="RHS">
								<expression>
									<reference keypath="self.attributes.id282483" />
								</expression>
							</real>
						</attributes>
					</predicate>
				</condition>
			</conditions>
			<behaviors>
				<behavior id="id509861" class="ChangeImageAction">
					<attributes>
						<text id="name">Change Image</text>
						<text id="bundleName">ChangeImage.behavior</text>
						<text id="image">item_selected.png</text>
					</attributes>
				</behavior>
			</behaviors>
			<elseBehaviors>
				<behavior id="id282520" class="ChangeImageAction">
					<attributes>
						<text id="name">Change Image</text>
						<text id="bundleName">ChangeImage.behavior</text>
						<text id="image">item_normal.png</text>
					</attributes>
				</behavior>
			</elseBehaviors>
		</behavior>
		<behavior id="id464807" class="RuleBehavior">
			<attributes>
				<text id="name">Rule</text>
				<text id="bundleName">Rule.behavior</text>
				<real id="compoundConditionKind">0</real>
			</attributes>
			<conditions>
				<condition eventType="touch" id="id212742">
					<attributes>
						<index id="conditionType">0</index>
					</attributes>
					<predicate type="touch" conditionType="pressed">
						<attributes />
					</predicate>
				</condition>
			</conditions>
			<behaviors>
				<behavior id="id621402" class="AssignAttributeAction">
					<attributes>
						<text id="name">Change Attribute</text>
						<text id="bundleName">ChangeAttribute.behavior</text>
						<text id="targetAttribute">game.attributes.id665196</text>
						<text id="RHS">
							<expression>
								<reference keypath="self.attributes.id282483" />
							</expression>
						</text>
					</attributes>
				</behavior>
			</behaviors>
			<elseBehaviors />
		</behavior>
	</behaviors>
</actor>
