示例#1
0
 public Fox FindFoxByName(string name)
 {
     CurrentFox = ListOfFoxes.Find(f => f.Name == name);
     return(CurrentFox);
 }
示例#2
0
 public Fox SetCurrentFox(string name)
 {
     CurrentFox = ListOfFoxes.First(fox => name == fox.Name);
     return(CurrentFox);
 }
示例#3
0
 public List <Fox> AddFox(Fox fox)
 {
     ListOfFoxes.Add(fox);
     return(ListOfFoxes);
 }