Exemple #1
0
 public static Pasture GetPasture(string Name)
 {
     return(AllPastures.Find(x => x.Name == Name));
 }
Exemple #2
0
 public static Zone GetZone(ushort ID)
 {
     return((new List <Zone> {
         AllMines.Find(x => x.ID == ID), AllPastures.Find(x => x.ID == ID), AllStorages.Find(x => x.ID == ID), AllFields.Find(x => x.ID == ID)
     }).Find(x => x != null));
 }
Exemple #3
0
 public static Pasture GetPasture(ushort ID)
 {
     return(AllPastures.Find(x => x.ID == ID));
 }