You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
924 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
public class Espece
{
public string Nom { get; set; }
public string Info;
public string Conseil;
public HashSet<Race> Races { get; set; } = new HashSet<Race>();
public Espece(string nom, string info = "Aucune information", string conseil = "Aucun conseil")
{
Nom = nom;
Info = info;
Conseil = conseil;
}
/*
public static void ListeInfo()
{
Console.WriteLine(Nom);
Console.WriteLine(Info);
Console.WriteLine(Conseil);
Console.WriteLine();
foreach (Race lRaces in Races)
{
Console.WriteLine(lRaces.Nom);
}
}*/
}
}