public void redraw(GameWorld world) {
		this.gameWorld = world;
		for (Avatar a : gameWorld.getAvatars()) {
			if (a.getName().equals(name)) {
				this.avatar = a;
			}
		}

		if (avatar != null) {
			int health = avatar.getHealth();
			healthBar.setValue(health);
			if (health > 75) {
				healthBar.setForeground(Color.green);
			} else if (health > 50) {
				healthBar.setForeground(Color.yellow);
			} else if (health > 25) {
				healthBar.setForeground(Color.orange);
			} else {
				healthBar.setForeground(Color.red);
			}
		}

		if (gameWorld.isWin()) {
			if (isWon) {
				frame.repaint();
				return;
			}
			MediaPlayer.stopCurrent();
			MediaPlayer.playWinning();
			chatArea.append("Player " + (world.getWinner() + 1)
					+ " has won the game!\n");
			isWon = true;
		}

		frame.repaint();
	}