#import <CC3NodeListeners.h>
Instance Methods | |
(void) | - nodeWasDestroyed: |
Instance Methods inherited from <CC3Object> | |
(id) | - asWeakReference |
(NSString *) | - fullDescription |
(id) | - resolveWeakReference |
This protocol defines the behaviour requirements for objects that wish to be notified about the basic existence of a node.
- (void) nodeWasDestroyed: | (CC3Node *) | aNode |
Callback method that will be invoked when the node has been deallocated.
Although the sending node is still alive when sending this message, its state is unpredictable, because all subclass state will have been released or detroyed when this message is sent. The receiver of this message should not attempt to send any messages to the sender. Instead, it should simply clear any references to the node.
Reimplemented in CC3Node.