"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 getStage() {
    return engine.gameStage.stage;
}
exports.getStage = getStage;
function createSvga(name) {
    var inst = new svga.Svga();
    inst.source = engine.getAssetByName(name).uuid;
    return inst;
}
exports.createSvga = createSvga;
