public void gerarHUDVidaPerdida(int qtdd, Personagem P1) { VIDAperdida V = new VIDAperdida(); V.qtdd = qtdd; V.R.Width = qtdd; V.R.Height = this.VIDA.Height; V.R.X = this.VIDA.X + this.VIDA.Width; V.R.Y = this.VIDA.Y; this.listavidaperdida.Add(V); //COMBOS if (!COMBO.c.PONTUAÇÃO && !P1.PODERescudo && !P1.PODERvento) // CASO ESTEJA PONTUANDO -> passou dos 2 segundos. (nao faz combo qnd estiver com escudo ativo) { COMBO.c.HITS++; COMBO.c.contagem = 0; COMBO.c.ATIVO = true; } }
public void gerarHUDVidaPerdida(int qtdd) { VIDAperdida V = new VIDAperdida(); V.qtdd = qtdd; V.R.Width = qtdd; V.R.Height = this.BarraVida.Height; V.R.X = this.BarraVida.X + this.BarraVida.Width; V.R.Y = this.BarraVida.Y; this.listavidaperdida.Add(V); }