mirror of https://github.com/axmolengine/axmol.git
[LUA] Removes CCCameraDeprecated table in Deprecated.lua.
This commit is contained in:
parent
7c6b4f2838
commit
9dff1dcd36
|
@ -300,45 +300,6 @@ end
|
|||
rawset(CCLabelAtlas,"create",CCLabelAtlasDeprecated.create)
|
||||
--functions of CCLabelAtlas will be deprecated end
|
||||
|
||||
--functions of CCCamera will be deprecated begin
|
||||
local CCCameraDeprecated = {}
|
||||
function CCCameraDeprecated.setUpXYZ(self,...)
|
||||
deprecatedTip("CCCameraDeprecated:setUpXYZ","CCCameraDeprecated:setUp")
|
||||
return self:setUp(...)
|
||||
end
|
||||
rawset(CCCamera,"setUpXYZ",CCCameraDeprecated.setUpXYZ)
|
||||
|
||||
function CCCameraDeprecated.getUpXYZ(self)
|
||||
deprecatedTip("CCCameraDeprecated:getUpXYZ","CCCameraDeprecated:getUp")
|
||||
return self:getUp()
|
||||
end
|
||||
rawset(CCCamera,"getUpXYZ",CCCameraDeprecated.getUpXYZ)
|
||||
|
||||
function CCCameraDeprecated.setEyeXYZ(self,...)
|
||||
deprecatedTip("CCCameraDeprecated:setEyeXYZ","CCCameraDeprecated:setEye")
|
||||
return self:setEye(...)
|
||||
end
|
||||
rawset(CCCamera,"setEyeXYZ",CCCameraDeprecated.setEyeXYZ)
|
||||
|
||||
function CCCameraDeprecated.getEyeXYZ(self)
|
||||
deprecatedTip("CCCameraDeprecated:getEyeXYZ","CCCameraDeprecated:getEye")
|
||||
return self:getEye()
|
||||
end
|
||||
rawset(CCCamera,"getEyeXYZ",CCCameraDeprecated.getEyeXYZ)
|
||||
|
||||
function CCCameraDeprecated.setCenterXYZ(self,...)
|
||||
deprecatedTip("CCCameraDeprecated:setCenterXYZ","CCCameraDeprecated:setCenter")
|
||||
return self:setCenter(...)
|
||||
end
|
||||
rawset(CCCamera,"setCenterXYZ",CCCameraDeprecated.setCenterXYZ)
|
||||
|
||||
function CCCameraDeprecated.getCenterXYZ(self)
|
||||
deprecatedTip("CCCameraDeprecated:getCenterXYZ","CCCameraDeprecated:getCenter")
|
||||
return self:getCenter()
|
||||
end
|
||||
rawset(CCCamera,"getCenterXYZ",CCCameraDeprecated.getCenterXYZ)
|
||||
--functions of CCCamera will be deprecated end
|
||||
|
||||
|
||||
---------------------------
|
||||
--global functions wil be deprecated, begin
|
||||
|
|
Loading…
Reference in New Issue