@Override
	public void componentActivated(AbstractComponent source) {
		//Handles the Mouse Interactions
		//TODO: Add logic to check for overlays
		
		if(gameTypeBox.isActivated()){
			if(source == gameTypeBox.pvaiButton){
				Globals.playerTwoAI = true;
				Globals.GAME.enterState(Globals.GAME.GAMESCREENSTATE, new FadeOutTransition(), new FadeInTransition());
			}
			else if(source == gameTypeBox.pvpButton){
				Globals.playerTwoAI = false;
				Globals.GAME.enterState(Globals.GAME.GAMESCREENSTATE, new FadeOutTransition(), new FadeInTransition());
			}
		}
		else if(stat.isActivated()){
			if(source == showStatistics){
				stat.toggle();
			}
		}
		else{
			if(source == menu.areas[Menu.NEWGAME]){
				//Show GameTypeBox
				gameTypeBox.toggle();
			}
			if(source == menu.areas[Menu.LOADGAME]){
				//Show GameTypeBox
				Globals.loadGame = true;
				Globals.GAME.enterState(Globals.GAME.GAMESCREENSTATE, new FadeOutTransition(), new FadeInTransition());
			}
			else if(source == menu.areas[Menu.STATISTICS]){
				stat.toggle();
			}
			else if(source == menu.areas[Menu.QUITGAME]){
				menu.shouldExit = true;
			}			
		}
	}