/** * Add Body Part Command * Adds a primitive to a composite body entity at a specified local position */ import { ECSContext } from '../../ecs'; import { EditorCommand } from '../CommandManager'; export declare class AddBodyPartCommand implements EditorCommand { private ctx; private archetype; private localPosition; description: string; private oldEid; private newEid; private fullBundle; private stableId?; constructor(ctx: ECSContext, eid: number, archetype: string, localPosition: { x: number; y: number; z: number; }); execute(): void; undo(): void; redo(): void; /** * Resolve current entity ID, updating internal tracking state * Note: This method has a side effect of updating this.oldEid for tracking */ private resolveAndUpdateCurrentEid; getCurrentEntityId(): number; } //# sourceMappingURL=AddBodyPartCommand.d.ts.map