How to update the appearance of a morph in mid-method?

Hernan Tylim htylim at yahoo.com.ar
Tue Dec 28 14:20:37 UTC 2004


You are right. I stay corrected.

Regards,
Hernán

Jon Hylands wrote:
> On Tue, 28 Dec 2004 11:03:36 -0300, Hernan Tylim <htylim at yahoo.com.ar>
> wrote:
> 
> 
>>	the #changed call is not really neccessary. It needs to only do the 
>>doOneCycle thing.
> 
> 
> Well, that depends on what you're doing. If you are changing some attribute
> of the morph that doesn't automatically update the morph, you absolutely
> need to call it.
> 
> The only reason your code works is because #color: calls #changed itself.
> 
> Later,
> Jon
> 
> --------------------------------------------------------------
>    Jon Hylands      Jon at huv.com      http://www.huv.com/jon
> 
>   Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
>            http://www.huv.com
> 
> 



More information about the Squeak-dev mailing list