"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getTexture(uuid) {
    return engine.Texture.from(getAssetByUUID(uuid).uuid);
}
exports.getTexture = getTexture;
function getTextureByName(name) {
    return getTexture(engine.getAssetByName(name).uuid);
}
exports.getTextureByName = getTextureByName;
function playSound(name) {
    engine.playSound(engine.getAssetByName(name).uuid, { keep: true });
}
exports.playSound = playSound;
function createSvga(name, anchorName) {
    var inst = new svga.Svga();
    inst.source = 'asset://' + engine.getAssetByName(name).uuid;
    return inst;
}
exports.createSvga = createSvga;
