@bscotch/sprite-source
Version:
Art pipeline scripting module for GameMaker sprites.
18 lines • 672 B
TypeScript
import { type Yyp, type YypResourceId } from '@bscotch/yy';
import type { SpriteDestAction } from './SpriteDest.schemas.js';
export interface ApplySpriteActionOptions {
projectYypPath: string;
action: SpriteDestAction;
yyp: Yyp;
}
export interface SpriteDestActionResult {
resource: YypResourceId;
folder: {
name: string;
folderPath: string;
};
/** The path to the sprite source root from which this action started */
sourceRoot: string;
}
export declare function applySpriteAction({ projectYypPath, action, yyp, }: ApplySpriteActionOptions): Promise<SpriteDestActionResult>;
//# sourceMappingURL=SpriteDest.actions.d.ts.map