2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module PhysicsContact
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend EventCustom
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- get contact data
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#PhysicsContact] getContactData
|
|
|
|
-- @param self
|
|
|
|
-- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- get the event code
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#PhysicsContact] getEventCode
|
|
|
|
-- @param self
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @return int#int ret (return value: int)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-03-11 10:52:22 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- get previous contact data
|
2014-03-11 10:52:22 +08:00
|
|
|
-- @function [parent=#PhysicsContact] getPreContactData
|
|
|
|
-- @param self
|
|
|
|
-- @return PhysicsContactData#PhysicsContactData ret (return value: cc.PhysicsContactData)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- get contact shape A.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#PhysicsContact] getShapeA
|
|
|
|
-- @param self
|
|
|
|
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +08:00
|
|
|
-- get contact shape B.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#PhysicsContact] getShapeB
|
|
|
|
-- @param self
|
|
|
|
-- @return PhysicsShape#PhysicsShape ret (return value: cc.PhysicsShape)
|
|
|
|
|
|
|
|
return nil
|