UNPKG

asajs

Version:

Make your Minecraft JsonUI with ScriptingAPI

16 lines (15 loc) 608 B
import { Identifier } from "../types/components/Identifier"; import { AnimationInterface } from "../types/objects/Animation"; import { Class } from "./Class"; export declare class Animation extends Class { private identifier?; private keyFrames; private buildKey; private config; static register(animation: AnimationInterface, identifier?: Identifier): Animation; constructor(animation: AnimationInterface, identifier?: Identifier | undefined); getKeyIndex(index: number): string; private buildAnimation; private generateIdentifier; private getFrameKeyByIdentifier; }