@Override
	protected void onButtonReleased(GuiButton button)
	{
		if (button.id == 0)
		{
			Monopoly.getInstance().startGame(this.options);
		}
		else if (button.id == 1)
		{
			GuiScreen.setGui(new GuiChoseBoard(this, this.options.board));
		}
		else if (button.id == 2)
		{
			this.options.playerCount++;

			if (this.options.playerCount == 8)
			{
				button.disabled = true;
			}

			if (this.options.playerCount >= 3)
			{
				this.buttonList.get(2).disabled = false;
			}
		}
		else if (button.id == 3)
		{
			this.options.playerCount--;

			if (this.options.playerCount == 2)
			{
				this.buttonList.get(2).disabled = true;
			}

			this.buttonList.get(1).disabled = false;
		}
		else if (button.id == 4)
		{
			Monopoly.getInstance().closeGame();
		}
	}