<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, Marco<br>
<br>
Looks like you're sending #leanLeft to a BlankCell object, but have the
leanLeft method defined in MirrorCell, so the BlankCell object is not
going to understand it. The pictures on page 26 show the "self
leanLeft" fragment in the initialize method of MirrorCell .. not
BlankCell. <br>
<br>
As for the initializeExitSides method, both BlankCell and MirrorCell
have such a method, but it's coded differently in each class. The
method shown in the page 26 picture (lower left) is in MirrorCell.<br>
<br>
Hope that helps.<br>
<br>
--<br>
Jerry<br>
<br>
Marco Segreto wrote:
<blockquote cite="mid:49AF2719.8070807@sfsu.edu" type="cite">Hi,
  <br>
  <br>
I'm new to squeak and was using the Laser-Game tutorial:
<a class="moz-txt-link-freetext" href="http://squeak.preeminent.org/tut2007/html/">http://squeak.preeminent.org/tut2007/html/</a> and was on page 26 when I
got stuck: <a class="moz-txt-link-freetext" href="http://squeak.preeminent.org/tut2007/html/026.html">http://squeak.preeminent.org/tut2007/html/026.html</a>.
  <br>
  <br>
I ran UnitTests right before completing this page and everything was
working fine so something with this page is making it now work. I put
MirrorCell, BlankCell and TargetCell as a subclass as Cell. Cell is a
subclass of Object. I created new methods leanLeft and leanRight under
mirror cell under a testing protocol. Under BlankCell I modified the
initializeExitSides method so it dislays the same as on the page and
added self leanLeft to the initialize method. I then moved all the
other methods out of BlankCell and put them in Cell.
  <br>
  <br>
These are the directions the page gives. When I run Unit Test I get 4
failures for 4 tests. It says that BlankCell(Object) doesnotundertand
#leanLeft. leanLeft was not set as an instance variable on any class
and accessors were not created for it. The instructions weren't very
clear on where to put everything. I wasn't sure where to put the
initializeExitSides method that was under BlankCell (if it was supposed
to be moved or not). I also wasn't sure which class initialize method I
was supposed to add "self leanLeft" to as it says to do at the bottom
of page 26.
  <br>
  <br>
This is my first post to the mailing list so please let me know if
theres anything more I should post or do to receive help.
  <br>
_______________________________________________
  <br>
Beginners mailing list
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
  <br>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
  <br>
  <br>
</blockquote>
</body>
</html>