"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 Loading_1 = require("../loading/Loading");
var Scene = (function (_super) {
    __extends(Scene, _super);
    function Scene(data) {
        return _super.call(this, data) || this;
    }
    Scene.prototype.onSkinComplete = function () {
        _super.prototype.onSkinComplete.call(this);
        Loading_1.default.instace.hide();
        this.showAct();
    };
    //播放显示动画
    Scene.prototype.showAct = function () {
        this.alpha = 0;
        egret.Tween.get(this).to({ alpha: 1 }, 500);
    };
    return Scene;
}(ComponentBase_1.default));
exports.default = Scene;
__reflect(Scene.prototype, "\"/Users/zuopeng/DBGitLab/db-game-template/egret/src/views/Scene\".Scene");
//# sourceMappingURL=Scene.js.map