2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Touch
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Ref
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getPreviousLocationInView
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getLocation
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getDelta
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getStartLocationInView
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getStartLocation
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getID
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] setTouchInfo
|
|
|
|
-- @param self
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getLocationInView
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] getPreviousLocation
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Touch] Touch
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|