public void move(String name, int comd) {
		if (comd == 37 || comd == 38 || comd == 39 || comd == 40) { // comd is a
			// movement,
			// so move
			// the
			// player
			for (Avatar a : avatars) {
				if (a.getName().equals(name)) {
					a.move(comd);
				}
			}
		}
	}