C# Class FluffyManager.Utilities_Livestock

Show file Open project: FluffierThanThou/RW_Manager Class Usage Examples

Public Properties

Property Type Description
AgeSexArray AgeAndSex[]

Public Methods

Method Description
GetAll ( this pawnKind, Map map ) : IEnumerable
GetAll ( this pawnKind, Map map, AgeAndSex ageSex ) : IEnumerable
GetTame ( this pawnKind, Map map ) : List
GetTame ( this pawnKind, Map map, AgeAndSex ageSex ) : List
GetWild ( this pawnKind, Map map ) : List
GetWild ( this pawnKind, Map map, AgeAndSex ageSex ) : List
Juvenile ( this ageSex ) : bool
Milkable ( this pawnKind ) : bool
PawnIsOfAgeSex ( this p, AgeAndSex ageSex ) : bool
Shearable ( this pawnKind ) : bool

Private Methods

Method Description
_milkable ( this pawn ) : bool
_shearable ( this pawn ) : bool

Method Details

GetAll() public static method

public static GetAll ( this pawnKind, Map map ) : IEnumerable
pawnKind this
map Map
return IEnumerable

GetAll() public static method

public static GetAll ( this pawnKind, Map map, AgeAndSex ageSex ) : IEnumerable
pawnKind this
map Map
ageSex AgeAndSex
return IEnumerable

GetTame() public static method

public static GetTame ( this pawnKind, Map map ) : List
pawnKind this
map Map
return List

GetTame() public static method

public static GetTame ( this pawnKind, Map map, AgeAndSex ageSex ) : List
pawnKind this
map Map
ageSex AgeAndSex
return List

GetWild() public static method

public static GetWild ( this pawnKind, Map map ) : List
pawnKind this
map Map
return List

GetWild() public static method

public static GetWild ( this pawnKind, Map map, AgeAndSex ageSex ) : List
pawnKind this
map Map
ageSex AgeAndSex
return List

Juvenile() public static method

public static Juvenile ( this ageSex ) : bool
ageSex this
return bool

Milkable() public static method

public static Milkable ( this pawnKind ) : bool
pawnKind this
return bool

PawnIsOfAgeSex() public static method

public static PawnIsOfAgeSex ( this p, AgeAndSex ageSex ) : bool
p this
ageSex AgeAndSex
return bool

Shearable() public static method

public static Shearable ( this pawnKind ) : bool
pawnKind this
return bool

Property Details

AgeSexArray public static property

public static AgeAndSex[] AgeSexArray
return AgeAndSex[]