public void setWindowTitle() {
		int s = this.playersTurn.time;
		String time = String.format("%02d:%02d:%02d", s/3600, (s%3600)/60, (s%60));
		this.window.setTitle(this.isActive ? "Chess: " + this.playersTurn.getName() + "'s turn (" + time + ")" : "Game ended");
	}