var Game;
(function (Game) {
    var Hangman = (function () {
        function Hangman() {
            this.game = new Phaser.Game(1920, 1080, Phaser.CANVAS, 'content', { create: this.start, preload: this.preload });
        }
        Hangman.prototype.start = function () {
            this.game.state.add("TitleScreenState", TitleScreen.TitleScreenState, true);
            this.game.state.add("ChooseDifficultyState", ChooseDifficulty.ChooseDifficultyState, false);
            this.game.state.add("MainGameState", MainGame.MainGameState, false);
            this.game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
            this.game.scale.windowConstraints.bottom = true;
            this.game.scale.pageAlignHorizontally = true;
            this.game.scale.pageAlignVertically = true;
            this.game.scale.refresh();
        };
        Hangman.prototype.preload = function () {
        };
        return Hangman;
    })();
    Game.Hangman = Hangman;
})(Game || (Game = {}));
window.onload = function () {
    var game = new Game.Hangman();
};
//# sourceMappingURL=app.js.map