export class AvatarAnimation {
    constructor(_action, _definition) {
        this._action = _action;
        this._definition = _definition;
    }
    getFrame(frame, type) {
        return this._definition.frames[frame].bodyparts[type];
    }
    getFrameCount() {
        return this._definition.frames.length;
    }
}
//# sourceMappingURL=AvatarAnimation.js.map