@dill-pixel/plugin-matter-physics
Version:
Matter Physics
17 lines • 563 B
TypeScript
import { Container } from 'dill-pixel';
import { IMatterCompositeObject } from './interfaces';
import { System } from './System';
import { MatterBodyLike } from './types';
export declare class CompositeEntity extends Container implements IMatterCompositeObject {
debugColor: number;
bodies: MatterBodyLike[];
joints: Matter.Constraint[];
constructor();
get system(): typeof System;
createBodies(): void;
createJoints(): void;
added(): void;
onRemoved(): void;
update(): void;
}
//# sourceMappingURL=CompositeEntity.d.ts.map