@Override //using this override to place getAnnualReport and gameShouldEnd inside displayView while loop.
    public void displayView() {
        boolean keepGoing = true;
        while (keepGoing == true) {
            //check to see if the game should end and if so, display a message and return to Main Menu 
            //TODO Implement try catch.
            //TODO when fully implemented, this will contain mortality rate variable from annual report 
            //TODO when fully implemented, this will contain currentYear variable from annual report.
            //TODO create end of game report showing total game statistics. Use Annual Report format but bring in stats from every year.
            //display the annual report above the GameMenuView
            liveTheYear();
            getAnnualReport();
            if (GameControl.gameShouldEnd(0)) {
                //TODO when fully implemented, this will contain mortality rate variable from annual report 
                this.console.println("More than 50% of your population died, therefore this game is over. Repent and try again.");
                return;
            } else if (GameControl.gameMatures(1)) {
                //TODO when fully implemented, this will contain currentYear variable from annual report.
                //TODO create end of game report showing total game statistics. Use Annual Report format but bring in stats from every year.
                this.console.println("Ten glorious years have passed, therefore this game is over. Congratulations on a successful game!");
                return;
            }
            // get message that should be displayed
            // only print if it is non-null
            String message = getMessage();
            if (message != null) {
                this.console.println(getMessage());
            }
            String[] inputs = getInputs();
            keepGoing = doAction(inputs);
        }
    }
@Override     public void displayView() {
        boolean keepGoing = true;
        while (keepGoing == true) {
           
           
           
           
           
           
            liveTheYear();
            getAnnualReport();
            if (GameControl.gameShouldEnd(0)) {
               
                this.console.println("More than 50% of your population died, therefore this game is over. Repent and try again.");
                return;
            } else if (GameControl.gameMatures(1)) {
               
               
                this.console.println("Ten glorious years have passed, therefore this game is over. Congratulations on a successful game!");
                return;
            }
           
           
            String message = getMessage();
            if (message != null) {
                this.console.println(getMessage());
            }
            String[] inputs = getInputs();
            keepGoing = doAction(inputs);
        }
    }
@override public void displayview() { boolean keepgoing = true; while (keepgoing == true) { livetheyear(); getannualreport(); if (gamecontrol.gameshouldend(0)) { this.console.println("more than 50% of your population died, therefore this game is over. repent and try again."); return; } else if (gamecontrol.gamematures(1)) { this.console.println("ten glorious years have passed, therefore this game is over. congratulations on a successful game!"); return; } string message = getmessage(); if (message != null) { this.console.println(getmessage()); } string[] inputs = getinputs(); keepgoing = doaction(inputs); } }