#include <ccobject.h>
Public Member Functions | |
CC_CLASSINIT (CCRuntimeClass *pNewClass) | |
This constructor adds a given class (which should be derived from CCObject) to the list of classes that support dynamic classing/creation. |
Definition at line 632 of file ccobject.h.
|
This constructor adds a given class (which should be derived from CCObject) to the list of classes that support dynamic classing/creation.
Definition at line 1099 of file ccobject.cpp. 01100 { 01101 // Make sure it hasn't been added already 01102 ENSURE( pNewClass->m_pNextClass == NULL, 01103 "CC_CLASSINIT::CC_CLASSINIT: pNewClass has been added already!"); 01104 01105 // Insert the object at the head of the list used by CCRuntimeClass. 01106 pNewClass->m_pNextClass = CCRuntimeClass::pFirstClass; 01107 CCRuntimeClass::pFirstClass = pNewClass; 01108 }
|