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.
48 lines
1.0 KiB
48 lines
1.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Drawing;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Model
|
|
{
|
|
internal class System
|
|
{
|
|
public bool theme_color = true;
|
|
HashSet<Animal> listeAnimaux = new HashSet<Animal>();
|
|
|
|
HashSet<Espece> listeEspece = new HashSet<Espece>();
|
|
|
|
|
|
public void ChangeColor()
|
|
{
|
|
theme_color = !theme_color;
|
|
}
|
|
public void RechercheAnimal(string nom)
|
|
{
|
|
if (nom == null)
|
|
{
|
|
Console.WriteLine("Aucun animal ne s'appelle " + nom);
|
|
return;
|
|
}
|
|
|
|
}
|
|
public void AfficherListeAnimaux() {
|
|
foreach (Animal aAnimal in listeAnimaux)
|
|
{
|
|
Console.WriteLine(aAnimal);
|
|
}
|
|
|
|
}
|
|
public void Retour()
|
|
{
|
|
//num_page = num_page - 1;
|
|
}
|
|
|
|
}
|
|
}
|
|
|