Bert Freudenberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-bf.57.mcz==================== Summary ====================
Name: Etoys-bf.57
Author: bf
Time: 16 May 2011, 11:55:32 pm
UUID: 79ee4862-8989-44cf-894f-319aa077ff95
Ancestors: Etoys-kfr.56
chooseClickTarget returns topRenderer now, so use renderedMorph to access the actual morph
=============== Diff against Etoys-kfr.56 ===============
Item was changed:
----- Method: Player>>adoptScriptsFrom (in category 'misc') -----
adoptScriptsFrom
"Let the user click on another object form which the receiver should obtain scripts and code"
| aMorph |
Sensor waitNoButton.
aMorph _ ActiveWorld chooseClickTarget.
aMorph ifNil: [^ Beeper beep].
+ (((aMorph renderedMorph isSketchMorph) and: [aMorph player belongsToUniClass]) and: [self belongsToUniClass not])
- (((aMorph isSketchMorph) and: [aMorph player belongsToUniClass]) and: [self belongsToUniClass not])
ifTrue:
[costume acquirePlayerSimilarTo: aMorph player]
ifFalse:
[Beeper beep]!
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev