//Contains the title screen and buttons to navigate the game.
//Imported from my JavaGame project.
public class MainMenu extends Scene {
  
  public MainMenu() {
    addChild( new NavButton(width/2, height/2, 200, 50, CENTER, "Play", 24).setVal(1) );
    addChild( new NavButton(width/2, height/2 + 60, 200, 50, CENTER, "Instructions", 24).setVal(2) );
    addChild( new NavButton(width/2, height/2 + 120, 200, 50, CENTER, "Exit", 24).setVal(-1) );
  }
  
  public void process() {
    textAlign(CENTER);
    textSize(36);
    text("Tiger Game", width/2, height/2 - 60);
  }
  
}
