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 Base;
(function (Base) {
    var BasicState = (function (_super) {
        __extends(BasicState, _super);
        function BasicState() {
            _super.call(this);
        }
        BasicState.prototype.create = function () {
            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 () {
            this.load.image("background", "Graphics/gui/background.jpg");
        };
        return BasicState;
    })(Phaser.State);
    Base.BasicState = BasicState;
})(Base || (Base = {}));
//# sourceMappingURL=BasicState.js.map