"use strict";
var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
Object.defineProperty(exports, "__esModule", { value: true });
var ComponentBase_1 = require("../components/ComponentBase");
var Scene = (function (_super) {
    __extends(Scene, _super);
    function Scene() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Scene.prototype.preLoadRes = function () {
        if (this.groupName) {
            return RES.loadGroup(this.groupName);
        }
        else {
            return null;
        }
    };
    Scene.prototype.onSkinComplete = function () {
        _super.prototype.onSkinComplete.call(this);
        this.onSkinLoaded && this.onSkinLoaded();
    };
    return Scene;
}(ComponentBase_1.default));
exports.default = Scene;
__reflect(Scene.prototype, "\"c:/Users/duiba/Documents/zhonghe_answer/egret/src/views/Scene\".Scene");
//# sourceMappingURL=Scene.js.map