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.
40 lines
942 B
40 lines
942 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Drawing;
|
|
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> listeAnimaux = new HashSet<Espece>();
|
|
public System() { }
|
|
public void ChangeColor()
|
|
{
|
|
if (theme_color == true)
|
|
theme_color = false;
|
|
else theme_color = true;
|
|
}
|
|
public void RechercheAnimal(string nom)
|
|
{
|
|
if (nom == null)
|
|
{
|
|
Console.WriteLine("Aucun animal ne s'appelle " + nom);
|
|
return;
|
|
}
|
|
|
|
}
|
|
public void Retour()
|
|
{
|
|
//num_page = num_page - 1;
|
|
}
|
|
|
|
}
|
|
}
|
|
|