Game Development Community


#1
03/13/2005 (11:35 am)
As an addition, there's a callback from the fxSceneGraph2D the object is in called "onSafeDelete()" that passes the object that will be deleted when the callback returns so if you put a reference to any other data against the T2D object, you can delete it there.

- Melv.
#2
03/13/2005 (10:12 pm)
Neat, kind of like a destructor.

Is this in the FAQ? And is the FAQ thread sticky so everyone sees it? :)
#3
03/14/2005 (12:32 am)
It's in the reference documentation, probably not the FAQ though.

- Melv
#4
03/14/2005 (2:52 am)
Don't forget isObject() which will tell you if the ID you've got refers to a valid thingie.

You can also use isEventPending() to figure out if a schedule task is still going.