private void buyMenu()
{
	
	if(hotelOwned != true && victim.account.getBalance() >= this.housePrice) // If you dont'have a hotel, you can buy some houses.
	{
		if(cout.buyHouse(this.housePrice) == true)
		{
			houseAmount = Integer.parseInt(cout.buyHouseAmount(this.totalHouseAmount)); // it now parses it.
			
			if(victim.account.getBalance() >= (this.houseAmount*this.housePrice)) // If the player can actually afford it
			{
				this.totalHouseAmount = this.houseAmount + this.totalHouseAmount;
				
				GUI.setHouses(victim.getPlayerPos(), this.totalHouseAmount);
				
				for(int i = 0; i < this.houseAmount; i++) // withdraw correct amount of moolaz
				{
					victim.account.addBalance(-housePrice, victim.getName(), true);
				}
				
				
				for(int i = 0; i < this.houseAmount; i++) // everytime you get a house, multiply the rent
				{
					this.rent = (this.totalHouseAmount+1)*this.baseRent;
					
					this.currentOwner.account.addTypeOwned("houses"); 
				}
			}
			
		}
	}
	
	if(this.totalHouseAmount == 4 && victim.account.getBalance() >= this.housePrice) // If you have 4 houses you can upgrade to a hotel
	{
		
		if(cout.buyHotel(this.housePrice))
		{
			GUI.setHotel(victim.getPlayerPos(), true);
			this.totalHouseAmount = 0; // Reset the house amount
			hotelOwned = true; // You now own a hotel
			this.currentOwner.account.addTypeOwned("hotels");
			victim.account.addBalance(-(this.housePrice), victim.getName(), true);
			this.rent = this.baseRent*5;
		}
		
	}
}