@Override
	protected void onButtonReleased(GuiButton button)
	{
		super.onButtonReleased(button);

		if (button.id == 0)
		{
			this.parent.setIngameGui(new GuiBuyHouses(this.parent, this.player));
		}
		else if (button.id == 1)
		{

		}
		else if (button.id == 2)
		{
			this.state = TurnState.ROLL;
		}
		else if (button.id == 3)
		{
			this.parent.setIngameGui(new GuiInventory(this.parent, this.player));
		}
		else if (button.id == 4)
		{
			if (!this.player.inventory.subtractMoney(this.parent, 50).isEmpty())
			{
				this.player.leaveWormhole();
			}
		}
	}