code: function(typeA, typeB, listenerConfig){
              var begin = listenerConfig.begin||function(arbiter){
                  return true;
              };
  
              var preSolve = listenerConfig.preSolve||function(arbiter){
                  return true;
              };
  
              var postSolve = listenerConfig.postSolve||function(arbiter){
  
              };
  
              var separate = listenerConfig.separate||function(arbiter){
  
              };
  
              this.space.addCollisionHandler(typeA, typeB, begin, preSolve, postSolve, separate);
          }
docs: 添加碰撞监听
  @param {Number} typeA 碰撞类型A
  @param {Number} typeB 碰撞类型B
  @param {Object} listenerConfig 回调函数配置
  @param {Physics~collisionCallback} listenerConfig.begin 开始接触回调
  @param {Physics~collisionCallback} listenerConfig.preSolve 处理前碰撞回调
  @param {Physics~collisionCallback} listenerConfig.postSolve 处理后碰撞回调
  @param {Physics~collisionCallback} listenerConfig.separate 分离回调