Constructor and Description |
---|
Cow(double iniWeight,
repast.simphony.context.Context theContext) |
Modifier and Type | Method and Description |
---|---|
void |
aging()
Aging is overwritten to account for pregnancy
|
double |
getNrOfCalves()
returns the number of calves born by this cow
|
void |
incNrOfCalves()
increases the number of calves born by this cow
|
boolean |
isBirth() |
void |
setCalvingInterval(CalvingInterval interval) |
compareTo, getAge, getBodyWeight, incrBodyWeight, removeMe, setIniAge
public void aging()
public void incNrOfCalves()
public double getNrOfCalves()
public void setCalvingInterval(CalvingInterval interval)
public boolean isBirth()