var __extends = this.__extends || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    __.prototype = b.prototype;
    d.prototype = new __();
};
var ScormTestGroup;
(function (ScormTestGroup) {
    var ScormTestClass = (function (_super) {
        __extends(ScormTestClass, _super);
        function ScormTestClass(game, name, x, y, json) {
            _super.call(this, game, name, x, y, json);
            this.game = game;
        }
        ScormTestClass.prototype.preload = function () {
            _super.prototype.preload.call(this);
            this.game.load.spritesheet("button", "Graphics/GUI/MW/MW_karta_pracy_button_next.png", 120, 120, 2);
        };
        ScormTestClass.prototype.create = function () {
            _super.prototype.create.call(this);
            var btn = this.game.add.button(300, 300, "button", this.btn1, 0, 0, 1, 0, 0, this);
            var btn2 = this.game.add.button(450, 300, "button", this.btn2, 0, 0, 1, 0, 0, this);
        };
        ScormTestClass.prototype.btn1 = function () {
            ScormHelper.ScormHelper.setExamCompleted("0", "100", "51");
        };
        ScormTestClass.prototype.btn2 = function () {
            ScormHelper.ScormHelper.setWorkCardCompleted();
        };
        return ScormTestClass;
    })(Base.BasicGroup);
    ScormTestGroup.ScormTestClass = ScormTestClass;
})(ScormTestGroup || (ScormTestGroup = {}));
//# sourceMappingURL=ScormTestGroup.js.map