mirror of https://github.com/axmolengine/axmol.git
issue #2404:del a deprecated func
This commit is contained in:
parent
0f8d10f9a7
commit
b6256be1ad
|
@ -326,6 +326,7 @@ int tolua_Cocos2d_registerScriptTouchHandler00(lua_State* tolua_S)
|
|||
touchesMode = Touch::DispatchMode::ONE_BY_ONE;
|
||||
self->setTouchMode(touchesMode);
|
||||
self->setTouchPriority(priority);
|
||||
self->setSwallowsTouches(swallowTouches);
|
||||
ScriptHandlerMgr::getInstance()->addObjectHandler((void*)self, handler, ScriptHandlerMgr::kTouchesHandler);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -708,17 +708,6 @@ rawset(SimpleAudioEngine,"sharedEngine",SimpleAudioEngineDeprecated.sharedEngine
|
|||
--functions of SimpleAudioEngine will be deprecated end
|
||||
|
||||
|
||||
--functions of WebSocket will be deprecated begin
|
||||
local WebSocketDeprecated = { }
|
||||
function WebSocketDeprecated.sendBinaryMsg(self,table,size)
|
||||
deprecatedTip("sendBinaryMsg","sendBinaryStringMsg")
|
||||
local strMsg = string.char(unpack(table))
|
||||
return self:sendBinaryStringMsg(strMsg)
|
||||
end
|
||||
rawset(WebSocket,"sendBinaryMsg",WebSocketDeprecated.sendBinaryMsg)
|
||||
--functions of WebSocket will be deprecated end
|
||||
|
||||
|
||||
--functions of CCTMXTiledMap will be deprecated begin
|
||||
local CCTMXTiledMapDeprecated = { }
|
||||
function CCTMXTiledMapDeprecated.layerNamed(self,layerName)
|
||||
|
|
Loading…
Reference in New Issue