World sensitivity (was Re: [updates] 35 more for 2.8alpha)

Bob Arning arning at charm.net
Sun Apr 30 18:43:54 UTC 2000


On Sun, 30 Apr 2000 20:13:23 +0200 Stefan Matthias Aust <sma at 3plus4.de> wrote:
>Actually, I think it isn't needed.  It's a handy reference but every morph 
>can be asked for its world by using #world already.  

Assuming that morph is in the world already.

>To add new morphs to 
>the world, one could ask the (actually one) hand morph for the 
>world.  (BTW, I bet that not all code in morphic can deal with the fact 
>that there could be more than one hand)
>
>David, I think you're right. One could remove the global and replace its 
>references with a few new methods.

That's a good idea, but it still leaves the question of where those few methods will find the world. Object>>currentWorld starts out:

	World ifNotNil: [^ World].

Cheers,
Bob





More information about the Squeak-dev mailing list