the-world-engine
Version:
three.js based, unity like game engine for browser
14 lines (13 loc) • 388 B
TypeScript
export class b2ContactRegister {
pool: any[];
createFcn: any;
destroyFcn: any;
primary: boolean;
}
export class b2ContactFactory {
m_registers: any[];
AddType(createFcn: any, destroyFcn: any, typeA: any, typeB: any): void;
InitializeRegisters(): void;
Create(fixtureA: any, indexA: any, fixtureB: any, indexB: any): any;
Destroy(contact: any): void;
}