Interface ISprite

interface ISprite {
    rows: number;
    cells: number;
    offset?: {
        x: number;
        y: number;
    };
    padding?: {
        x: number;
        y: number;
    };
    sourceExport: (() => Promise<Export>);
    actions: SpriteAnimation[];
}

Properties

rows: number
cells: number
offset?: {
    x: number;
    y: number;
}
padding?: {
    x: number;
    y: number;
}
sourceExport: (() => Promise<Export>)
actions: SpriteAnimation[]