void Update()
 {
     if (!listaAcoesAtual.isEqual(listaAcoesDaFase[fase]))
     {
         listaAcoesAtual = listaAcoesDaFase[fase];
         this.setAcoes(listaAcoesDaFase[fase]);
         this.setArgs(listaArgsDaFase[fase]);
     }
 }
    public bool isEqual(CombateAcoesDaFase comparado)
    {
        if (this.ListaAcoes.Length != comparado.ListaAcoes.Length)
        {
            return(false);
        }
        int i;

        for (i = 0; i < this.ListaAcoes.Length; i++)
        {
            if (!this.ListaAcoes[i].isEqual(comparado.ListaAcoes[i]))
            {
                return(false);
            }
        }
        return(true);
    }
 void Awake()
 {
     listaAcoesAtual = listaAcoesDaFase[0];
     setAcoes(listaAcoesAtual);
     setArgs(listaArgsDaFase[0]);
 }
 public void setAcoes(CombateAcoesDaFase novasAcoes)
 {
     this.acoes = novasAcoes.ListaAcoes;
 }