public cpCollisionHandler() { this.typeA = cp.WILDCARD_COLLISION_TYPE; this.typeB = cp.WILDCARD_COLLISION_TYPE; beginFunc = DefaultBegin; preSolveFunc = DefaultPreSolve; postSolveFunc = DefaultPostSolve; separateFunc = DefaultSeparate; }
public cpCollisionHandler(ulong a, ulong b, cpCollisionBeginFunc begin, cpCollisionPreSolveFunc preSolve, cpCollisionPostSolveFunc postSolve, cpCollisionSeparateFunc separate, object userData ) { this.typeA = a; this.typeB = b; this.beginFunc = begin; this.preSolveFunc = preSolve; this.postSolveFunc = postSolve; this.separateFunc = separate; this.userData = userData; }