making more instances of objects in scripting

Robert Hirschfeld hirschfeld at
Tue Dec 26 09:48:21 UTC 2000

Hi Karl,

Karl Ramberg wrote:
> > Depending on what you want to do, you may wish to put the copied
> > bullet into a player-valued instance variable of, perhaps, the
> > playfield, so that you can send it various messages to configure it
> > as needed before turning it loose in the playfield.
> I can't assign the bullet's copy to the instance variable. :-(

It works if you change the instance variable's data type to Player


                          Robert Hirschfeld
                  mailto:hirschfeld at

More information about the Squeak-dev mailing list