#include <brshbeca.h>
Inheritance diagram for SimpleBecomeA:
Public Member Functions | |
SimpleBecomeA (BecomeAReason Reason, CCRuntimeClass *pClass, UndoableOperation *pOp) | |
constructor | |
virtual BOOL | PassBack (NodeRenderableInk *pNewNode, NodeRenderableInk *pCreatedByNode, CCAttrMap *pAttrMap) |
the money function, takes the nodepath and assigns it to our member so it can be retrieved using GetNodePath | |
NodePath * | GetNodePath () |
Protected Attributes | |
NodePath * | m_pNodePath |
Definition at line 204 of file brshbeca.h.
|
constructor
Definition at line 644 of file brshbeca.cpp. 00645 :BecomeA(Reason, pClass, pOp) 00646 { 00647 m_pNodePath = NULL; 00648 }
|
|
Definition at line 690 of file brshbeca.cpp. 00691 { 00692 return m_pNodePath; 00693 }
|
|
the money function, takes the nodepath and assigns it to our member so it can be retrieved using GetNodePath
Reimplemented from BecomeA. Definition at line 667 of file brshbeca.cpp. 00668 { 00669 ERROR2IF(pNewNode == NULL, FALSE, "Node is NULL in SimpleBecomeA::PassBack"); 00670 ERROR2IF(!pNewNode->IsNodePath(), FALSE, "New node is not nodepath in SimpleBecomeA::PassBack"); 00671 00672 m_pNodePath = (NodePath*)pNewNode; 00673 00674 return TRUE; 00675 }
|
|
Definition at line 219 of file brshbeca.h. |