Jan. 25, 2011
2:58 a.m.
On Tue, Jan 25, 2011 at 03:53:36PM +1300, Aidan Gauland wrote:
If anyone wants to have the same background in their other worlds as the first one, this should do it...
wm := WorldManager instance. bgm := (wm worldNamed: 'Pharo') backgroundMorph. (wm worldNamed: 'AnotherWorld') backgroundMorph: bgm.
Oops! I just noticed that the result of that code is less than ideal, as bgm also becomes a submorph of AnotherWorld. What's a better way to give new worlds the same background as the first world? --Aidan