This site requires JavaScript, please enable it in your browser!
Greenfoot back
MrBradley
MrBradley wrote ...

2017/7/18

Actor removeFromWorld()

MrBradley MrBradley

2017/7/18

#
Has any thought been given to the possibility of adding a removeFromWorld() method on Actor? This would be similar in purpose to the addedToWorld() method that allows some customization. In removeFromWorld, it allows for the opportunity for an Actor to take some appropriate action. At the least, the instance would be notified of an imminent removal. If this has been considered in the past, what was the reasoning for not adding it? Thanks, Mr Bradley
You need to login to post a reply.