Morph>>Delete
Jesse Welton
jwelton at pacific.mps.ohio-state.edu
Wed Aug 27 16:15:25 UTC 2003
Jeff Longland wrote:
>
> Just from taking a quick look at the Morph class, I see "initialize" where
> instance variables are set. Should I have a similar area to set the
> instance variables and open my morphs?
If your morph has instance variables that must be initialized,
#initialize is a fine place to do it. Don't forget to call "super
initialize" from YourMorph>>initialize!
Opening the morph in the world from #initialize isn't really
appropriate, though.
-Jesse
More information about the Squeak-dev
mailing list
|