public Herd() { Dinos dino1 = new Dinos(120, 30, 100, "Carno1"); Dinos dino2 = new Dinos(120, 30, 100, "Carno2"); Dinos dino3 = new Dinos(120, 30, 100, "Carno3"); dinos = new List <Dinos>(); dinos.Add(dino1); dinos.Add(dino2); dinos.Add(dino3); }
public void attack(Dinos dinos) { dinos.health = dinos.health - weapon.DMG; }