Compilation succeed after remove Action in native

This commit is contained in:
pandamicro
2017-03-18 09:31:01 +08:00
parent f07460bd94
commit 201a2ba4e4
21 changed files with 151 additions and 52465 deletions
-12
View File
@@ -163,18 +163,6 @@ void ScriptEngineManager::destroyInstance()
}
}
bool ScriptEngineManager::sendActionEventToJS(Action* actionObject, int eventType, void* param)
{
auto scriptEngine = getInstance()->getScriptEngine();
ActionObjectScriptData data(actionObject,(int*)&eventType, param);
ScriptEvent scriptEvent(kScriptActionEvent,(void*)&data);
if (scriptEngine->sendEvent(&scriptEvent))
return true;
return false;
}
bool ScriptEngineManager::sendNodeEventToJS(Node* node, int action)
{
auto scriptEngine = getInstance()->getScriptEngine();