public bool IsSize(AnimalHouse.Size size) { return(size.Equals(AnimalHouse.Size.Small) ? this.IsSmall() : this.Location.Name.Contains(size.ToString())); }
public static string FormatBuilding(string @base, AnimalHouse.Size size) { return(size.Equals(AnimalHouse.Size.Small) ? @base : size.ToString() + " " + @base); }