@Override
	public void paint(Graphics2D graphics) {
		if (objectTron != null) {
			emptyGridRenderer.render(graphics);
			playerBeginPositionsRenderer.render(graphics);
			gridElementRenderer.render(graphics);
			currentPlayerRenderer.render(graphics);
			playerRenderer.render(graphics);

			final List<Direction> directionsToMoveTo = objectTron.getActivePlayerInfo().getDirectionsToMoveTo();
			buttonMoveUp.setEnabled(directionsToMoveTo.contains(Direction.UP));
			buttonMoveRightUp.setEnabled(directionsToMoveTo.contains(Direction.RIGHTUP));
			buttonMoveRight.setEnabled(directionsToMoveTo.contains(Direction.RIGHT));
			buttonMoveRightDown.setEnabled(directionsToMoveTo.contains(Direction.RIGHTDOWN));
			buttonMoveDown.setEnabled(directionsToMoveTo.contains(Direction.DOWN));
			buttonMoveLeftDown.setEnabled(directionsToMoveTo.contains(Direction.LEFTDOWN));
			buttonMoveLeft.setEnabled(directionsToMoveTo.contains(Direction.LEFT));
			buttonMoveLeftUp.setEnabled(directionsToMoveTo.contains(Direction.LEFTUP));
		}
	}