예제 #1
0
        public ContactListener()
        {
            functions = new cb2contactlistener();
            functions.BeginContact = BeginContactInternal;
            functions.EndContact = EndContactInternal;
            functions.PreSolve = PreSolveInternal;
            functions.PostSolve = PostSolveInternal;

            _listener = NativeMethods.cb2contactlistener_create(functions);
        }
예제 #2
0
        public ContactListener()
        {
            functions = new cb2contactlistener();
            functions.BeginContact = BeginContactInternal;
            functions.EndContact   = EndContactInternal;
            functions.PreSolve     = PreSolveInternal;
            functions.PostSolve    = PostSolveInternal;

            _listener = NativeMethods.cb2contactlistener_create(functions);
        }
예제 #3
0
 public static extern IntPtr cb2contactlistener_create(cb2contactlistener functions);
예제 #4
0
 public static extern IntPtr cb2contactlistener_create(cb2contactlistener functions);