2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module PhysicsShapeBox
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend PhysicsShape
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeBox] getPointsCount
|
|
|
|
-- @param self
|
|
|
|
-- @return int#int ret (return value: int)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeBox] getSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeBox] create
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
-- @param #cc.PhysicsMaterial physicsmaterial
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return PhysicsShapeBox#PhysicsShapeBox ret (return value: cc.PhysicsShapeBox)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeBox] calculateArea
|
|
|
|
-- @param self
|
|
|
|
-- @param #size_table size
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeBox] calculateMoment
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
-- @param #size_table size
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @param #cc.math::Vector2 array
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeBox] getOffset
|
|
|
|
-- @param self
|
2014-04-28 15:01:59 +08:00
|
|
|
-- @return math::Vector2#math::Vector2 ret (return value: cc.math::Vector2)
|
2014-03-18 15:55:30 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#PhysicsShapeBox] calculateDefaultMoment
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
return nil
|