private static int converterComando(String cmd) throws Exception {
		cmd = cmd.toLowerCase();
		if (cmd.equals("mover"))
			return 1;
		if (cmd.equals("olhar"))
			return 2;
		if (cmd.equals("atacar"))
			return 3;
		if (cmd.equals("largar"))
			return 4;
		if (cmd.equals("pegar"))
			return 5;
		throw new Exception("Comando " + cmd + " nao e valido");
	}