public Evolution(string nm, string desc, int att, int def, int hp, DigimonFamily fam) { this.name = nm; this.description = desc; this.attack = att; this.defense = def; this.health = hp; this.family = fam; }
public Digimon(string name, string description, int attack, int defense, int health, DigimonFamily family) : base(name, description, attack, defense, health) { SetInitialEvolution(new Evolution(name, description, attack, defense, health, family)); SetCurrentEvolution(GetInitialEvolution()); SetDigimonFamily(family); }
private void SetDigimonFamily(DigimonFamily family) { this.Family = family; }