예제 #1
0
NS_CC_BEGIN

// CCScriptHandlerEntry

CCScriptHandlerEntry* CCScriptHandlerEntry::create(int nHandler)
{
	CCScriptHandlerEntry* entry = new CCScriptHandlerEntry(nHandler);
	entry->autorelease();
	return entry;
}
예제 #2
0
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;
}