[squeak-dev] World vs. ActiveWorld

Bert Freudenberg bert at freudenbergs.de
Tue Jan 21 20:15:08 UTC 2014


On 21.01.2014, at 20:51, Sean DeNigris <sean at clipperadams.com> wrote:

> What is the difference? 

World is the outer-most world in the current project.

ActiveWorld, ActiveHand, ActiveEvent are set to the current values during event/timer callbacks.

Most code should use ActiveWorld, unless it explicitly needs to refer to the outer world.

> There are many hardcoded references to each.

"self world" is preferable but only works inside a Morph.

>  I wonder if they are all using the correct one...

Probably not :(

- Bert -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140121/c30adf3b/smime.bin


More information about the Squeak-dev mailing list