"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 Panel_1 = require("../views/Panel");
var GameOverPanel = (function (_super) {
    __extends(GameOverPanel, _super);
    function GameOverPanel(data) {
        return _super.call(this, data) || this;
    }
    Object.defineProperty(GameOverPanel.prototype, "skinKey", {
        get: function () { return 'GameOverPanel'; },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(GameOverPanel.prototype, "groupName", {
        get: function () { return 'gameover_panel'; },
        enumerable: true,
        configurable: true
    });
    GameOverPanel.prototype.onSkinComplete = function () {
        _super.prototype.onSkinComplete.call(this);
        this.once(egret.Event.ADDED_TO_STAGE, this.onLoad, this);
        if (this.stage) {
            this.onLoad();
        }
        this.showAct();
    };
    GameOverPanel.prototype.start = function () {
        this.percentHeight = 100;
    };
    GameOverPanel.prototype.initEvents = function () {
        _super.prototype.initEvents.call(this);
        this.knowBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_knowBtn, this);
    };
    GameOverPanel.prototype.removeEvents = function () {
        _super.prototype.removeEvents.call(this);
        this.knowBtn.removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_knowBtn, this);
    };
    GameOverPanel.prototype.onTap_knowBtn = function () {
        //关闭弹框
        this.hidePanel();
    };
    GameOverPanel.prototype.onLoad = function () {
    };
    return GameOverPanel;
}(Panel_1.default));
exports.default = GameOverPanel;
__reflect(GameOverPanel.prototype, "\"/Users/zuopeng/DBGitLab/db-game-template/egret/src/panels/GameOverPanel\".GameOverPanel");
//# sourceMappingURL=GameOverPanel.js.map