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 (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var GameEnd1 = (function (_super) {
    __extends(GameEnd1, _super);
    function GameEnd1() {
        return _super.call(this) || this;
    }
    GameEnd1.prototype.init = function () {
        var bg = AssetManager.createBitmapByName("gameEnd_bad_png");
        bg.x = this.stage.stageWidth / 2;
        bg.y = this.stage.stageHeight / 2;
        this.addChild(bg);
        // this.txt = new egret.TextField();
        // this.txt.y = 400;
        // this.txt.text = "艾德突然出现，偷袭你成功，将你杀死后，\n艾德从梦境逃离，你被抛进迷失域，无法逃离。\n点击任意地方重新开始";
        // this.addChild(this.txt);
        this.touchEnabled = true;
        this.addEventListener(egret.TouchEvent.TOUCH_END, this.onTouch, this);
        packageList.visible = false;
    };
    GameEnd1.prototype.onTouch = function (e) {
        this.next("gameScore");
    };
    return GameEnd1;
}(Scene));
__reflect(GameEnd1.prototype, "GameEnd1");
//# sourceMappingURL=GameEnd1.js.map