cc.Class({ extends: cc.Component, properties: { }, onCollisionEnter: function (other) { }, onCollisionExit: function (other) { } });