@Override
	public void drawGui()
	{
		super.drawGui();

		if (this.dice != null)
		{
			this.dice.button.disabled = true;
			this.dice.drawGui();
			this.dice.button.disabled = false;
		}

		if (this.countdown > 0)
		{
			if (this.countdown == 1)
			{
				if (this.count > 0)
				{
					this.player.position++;
					this.player.position %= 40;
					this.stepsTaken++;

					if (this.stepsTaken == this.count)
					{
						Monopoly.getInstance().getBoard().places[this.player.position].onPlayerLand(this.player, this.parent, this.doubles);
					}
					else
					{
						Monopoly.getInstance().getBoard().places[this.player.position].onPlayerPass(this.player, this.parent);
					}
				}
				else if (this.count < 0)
				{
					this.player.position += 39;
					this.player.position %= 40;
					this.stepsTaken++;

					if (this.stepsTaken == Math.abs(this.count))
					{
						Monopoly.getInstance().getBoard().places[this.player.position].onPlayerLand(this.player, this.parent, this.doubles);
					}
					else
					{
						Monopoly.getInstance().getBoard().places[this.player.position].onPlayerPass(this.player, this.parent);
					}
				}
			}

			this.countdown--;
		}
		else
		{
			this.countdown = 15;
		}
	}