[Cuis-dev] Deleted Morph still stepping

Juan Vuletich juan at jvuletich.org
Tue Sep 29 07:54:45 PDT 2020


On 9/26/2020 11:45 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> I noted a morph continues stepping although removed from its owner, 
> and even when the message #stopStepping is sent to it.
>
> Any idea?
>
> The context:
>
> All morphs are sort of RectangleLikeMorph
>
> Torpedo>>wantsSteps
>     ^ false
>
> SpaceWar>>destroyTorpedo: aTorpedo
>     aTorpedo delete.
>     torpedoes remove: aTorpedo.
>     self removeMorph: aTorpedo.
>
> Package there:
>
> https://github.com/Cuis-Smalltalk/TheCuisBook/blob/master/Spacewar!AllMorphs.pck.st
>
> Hilaire
>
> -- 
> GNU Dr. Geo
> http://drgeo.eu
> https://pouet.chapril.org/@hilaire

Seems to work ok. I guess you already figured it out. Apologies for 
taking so long to answer.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200929/ec8ecfa4/attachment-0001.htm>


More information about the Cuis-dev mailing list