Exemple #1
0
NS_CC_BEGIN

// CCScriptHandlerEntry

CCScriptHandlerEntry* CCScriptHandlerEntry::create(int nHandler)
{
	CCScriptHandlerEntry* entry = new CCScriptHandlerEntry(nHandler);
	entry->autorelease();
	return entry;
}
NS_CC_BEGIN

// #pragma mark -
// #pragma mark CCScriptHandlerEntry
// 脚本处理实体

CCScriptHandlerEntry* CCScriptHandlerEntry::create(int nHandler)
{
    CCScriptHandlerEntry* entry = new CCScriptHandlerEntry(nHandler);
    entry->autorelease();
    return entry;
}
CCScriptHandlerEntry* CCScriptHandlerEntry::create ( KDint nHandler )
{
    CCScriptHandlerEntry*  pEntry = new CCScriptHandlerEntry ( nHandler );
    pEntry->autorelease ( );
    return pEntry;
}