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 BasicModule;
(function (BasicModule) {
    var BasicState = (function (_super) {
        __extends(BasicState, _super);
        function BasicState() {
            _super.call(this);
        }
        BasicState.prototype.create = function () {
            this.foregroundGroup = this.game.add.group();
            this.foregroundGroup.z = 5;
            this.backgroundImage = this.add.sprite(0, 0, "background");
            this.backgroundImage.scale.setTo(this.game.width / this.backgroundImage.width, this.game.height / this.backgroundImage.height);
        };
        BasicState.prototype.preload = function () {
            ///loading background
            this.load.image("background", "Graphics/gui/background.jpg");
        };
        return BasicState;
    })(Phaser.State);
    BasicModule.BasicState = BasicState;
})(BasicModule || (BasicModule = {}));
//# sourceMappingURL=BasicState.js.map