Hello all.
I was attempting to go through the tutorial over at JG. However, it breaks down rather quickly:
World addMorph: (PolygonMorph vertices: {50@50.200@200} color: Color red borderWidth: 20 borderColor: Color red)
The only problem is, in the process a Rectangle gets instanciated, and Rectangle doesn't have a corner mutator, only an accessor. So it breaks.
Where would I find the difference between the 2.x & 3.x series images? I assume that somewhere is a document explaining the differences, and that it would have listed that the corner mutator was removed, and possibly offer an alternative.
Am I missing something?
On Tuesday 31 July 2001 07:08 pm, you wrote:
World addMorph: (PolygonMorph vertices: {50@50.200@200} color: Color red borderWidth: 20 borderColor: Color red)
The only problem is, in the process a Rectangle gets instanciated, and Rectangle doesn't have a corner mutator, only an accessor. So it breaks.
Am I missing something?
Yes, you're missing a space after the period in "50@50.200@200". You told it to make something out of a B3DVector, which is what you get when you first make a Point 50@50.200 and then send it @ 200.
You mean: {50@50. 200@200}
squeak-dev@lists.squeakfoundation.org