private void missileKillsPlayer(Avatar player, Missile missile) {
		Rectangle2D rectPlayer = new Rectangle2D.Float(player.getX(),
				player.getY(), 18, 18);
		Rectangle2D rectMissile = new Rectangle2D.Float(missile.getX(),
				missile.getY(), 9, 9);

		if (rectPlayer.intersects(rectMissile)) {
			Avatar.isDead = true;
			missile.setCanbeShoot(true);
			missile.restartShooting();
		}

	}