The Trunk: EToys-rjh.76.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: EToys-rjh.76.mcz

commits-2
David T. Lewis uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-rjh.76.mcz

==================== Summary ====================

Name: EToys-rjh.76
Author: rjh
Time: 28 September 2010, 7:49:07.394 pm
UUID: 12db789e-0c08-40a0-a7d4-bc5636a4ad19
Ancestors: EToys-ar.75

Please see the existing squeak-dev thread: "forward: and turn: in Morph - are we missing immediacy?"

Currently, immediacy is lost because the following gives an error:
x:=EllipseMorph new openInHand.
x forward: 100

This proposed change makes good sense for the initial teaching of Smalltalk by hiding a very quirky and state based behaviour.

=============== Diff against EToys-ar.75 ===============

Item was added:
+ ----- Method: Morph>>forward: (in category '*Etoys') -----
+ forward: distance
+        self assuredPlayer forward: distance!

Item was added:
+ ----- Method: Morph>>turn: (in category '*Etoys') -----
+ turn: angle
+         self assuredPlayer turn: angle!