CC3NodeListenerProtocol Protocol Reference
Conforms to | CC3Object |
Declared in | CC3NodeListeners.h |
Overview
This protocol defines the behaviour requirements for objects that wish to be notified about the basic existence of a node.
Instance Methods
nodeWasDestroyed:
Callback method that will be invoked when the node has been deallocated.
- (void)nodeWasDestroyed:(CC3Node *)aNode
Discussion
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.
Declared In
CC3NodeListeners.h