{"size": 726, "ext": "js", "max_stars_repo_path": "js/page/BattleGamePage.js", "max_stars_repo_name": "tianshunjian/happyJump", "max_stars_repo_stars_event_min_datetime": "2019-03-22T07:56:38.000Z", "max_stars_repo_stars_event_max_datetime": "2020-12-10T02:23:19.000Z", "max_issues_repo_path": "js/page/BattleGamePage.js", "max_issues_repo_name": "tianshunjian/happyJump", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/page/BattleGamePage.js", "max_forks_repo_name": "tianshunjian/happyJump", "max_forks_repo_forks_event_min_datetime": "2019-03-22T11:20:15.000Z", "max_forks_repo_forks_event_max_datetime": "2020-12-01T02:48:54.000Z"}
{"max_stars_count": 11, "max_issues_count": null, "max_forks_count": 3, "avg_line_length": 22.6875, "max_line_length": 61, "alphanum_fraction": 0.5895316804}
'use strict';

var BattleGamePage = function () {
    function BattleGamePage(game) {
        // _classCallCheck(this, BattleGamePage);

        this.game = game;
        this.model = this.game.gameModel;
        this.full2D = this.game.full2D;
        this.UI = this.game.UI;
        this.viewer = this.game.viewer;
        this.name = 'game';
    }

    return BattleGamePage;
}();

BattleGamePage.prototype = {
    show: function () {
        this.UI.showScore();

        this.UI.scoreText.obj.position.y = 21;
        this.UI.scoreText.obj.position.x = -13;
        this.UI.scoreText.changeStyle({ textAlign: 'left' });
    },

    hide: function () {
        this.UI.hideScore();
    }
};

export default BattleGamePage;