@Override
	protected void checkAction(String name)
	{
		if(name == "Player Name")
		{
			Util.writeOutput("Please Enter Player Name.");
			player = true; 
			town = false; msk = false; fsk = false; mw = false; fw = false;
		}
		
		else if(name == "Town Name")
		{
			Util.writeOutput("Please Enter Town Name.");
			town = true; 
			player = false; msk = false; fsk = false; mw = false; fw = false;

		}
		
		else if(name == "Male Shop Keeper")
		{
			Util.writeOutput("Please Enter Male Shop Keeper's Name.");
			msk = true; 
			player = false; town = false; fsk = false; mw = false; fw = false;
		}
		
		else if(name == "Female Shop Keeper")
		{
			Util.writeOutput("Please Enter Female Shop Keeper's Name.");
			fsk = true; 
			player = false; msk = false; town = false; mw = false; fw = false;
		}
		
		else if(name == "Male Warrior")
		{
			Util.writeOutput("Please Enter Male Warrior's Name.");
			mw = true; 
			player = false; msk = false; fsk = false; town = false; fw = false;	
		}
		else if(name == "Female Warrior")
		{
			Util.writeOutput("Please Enter Female Warrior's Name.");
			fw = true; 
			player = false; msk = false; fsk = false; mw = false; town = false;
		}
				
		
		if(name == "Finish")
		{
			Main.player.gold = 0;
			
			Main.player.Builders[0] = new Citizen(10, 10, 10, 10, 100, 0, cit1, true, false);
			Main.player.Builders[1] = new Citizen(10, 10, 10, 10, 100, 0, cit2, false, false);
			Main.player.Warriors[0] = new Citizen(10, 10, 10, 10, 100, 0, cit3, true, true);
			Main.player.Warriors[1] = new Citizen(10, 10, 10, 10, 100, 0, cit4, false, true);
			
			Main.player.warriorsPop = 2;
			Main.player.buildersPop = 2;
			
			Util.changeMenus(this, new GameMenu());
			TextBoxGame.main.setEnabled(true);
		}
	}