<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Auto-correct: paramour should be parameter…&nbsp;<div><br></div><div>Good catch,</div><div><br></div><div>Don Slater</div><div><br><div><div>On Mar 3, 2014, at 3:16 PM, Gamez, Enrique A (3012) &lt;<a href="mailto:enrique.a.gamez@jpl.nasa.gov">enrique.a.gamez@jpl.nasa.gov</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;">
<div>How are you using "paramour"? &nbsp;It was new to me, so I looked it up:</div>
<div><br>
</div>
<div><br>
</div>
<div><span>&lt;2014-03-03_12-14-52[1].png&gt;</span></div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);">
<span style="font-weight:bold">From: </span>Don Slater &lt;<a href="mailto:dslater@andrew.cmu.edu">dslater@andrew.cmu.edu</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>Alice educators &lt;<a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, March 3, 2014 11:59 AM<br>
<span style="font-weight:bold">To: </span>Alice Teachers &lt;<a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: alice-teacher addObjectMover Event Listener in Alice 3<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Courtney,
<div>She will not be able to do what she would like with the addObjectMover event listener. Essentially, addObjectMover is a method that is invoked when the program starts to run, and it executes continually while the program is running. And we do not provide
 access to edit the method so that you can stop at at any time. So the initial parameter that is passed is assigned when the method runs, and like any paramour to an executing method, it cannot be reassigned while the method is running. Does that make sense?</div>
<div><br>
</div>
<div>AddObjectMover was designed to be a simple event for those cases in which a student wants to move a single character throughout an animation (as in the case of most first-person exploration games). For the more complex case your student is interested in,
 she will need to build an addKeyListener event that sorts through the different cases.</div>
<div><br>
</div>
<div>Let me know if you have more questions.</div>
<div><br>
</div>
<div>All the best,</div>
<div>Don Slater</div>
<div><br>
</div>
<div>
<div>
<div>On Mar 3, 2014, at 10:20 AM, courtney bein &lt;<a href="mailto:courtney.bein@oracle.com">courtney.bein@oracle.com</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div text="#000000" bgcolor="#FFFFFF">Hello,<br>
<br>
One of my students was wondering if its possible to start and stop the addObjectMover event listener in Alice 3.
<br>
<br>
In her animation, she wants to control one object with the arrow keys, but then (if
<b>x </b>happens) stop control of that object and start controlling a different object with the keyboard keys.
<br>
<br>
Regards,<br>
Courtney&nbsp; </div>
_______________________________________________<br>
alice-teachers mailing list<br>
<a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.cmu.edu</a><br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span>
</div>

</blockquote></div><br></div></body></html>