org.woehlke.simulation.evolution.dom
Class SimGenLifeCycle
java.lang.Object
org.woehlke.simulation.evolution.dom.SimGenLifeCycle
- All Implemented Interfaces:
- ISimGenLifeCycle
public class SimGenLifeCycle
- extends java.lang.Object
- implements ISimGenLifeCycle
(C) 2006 - 2008 Thomas Woehlke
http://www.thomas-woehlke.de
- Author:
- Thomas Woehlke
Date: 04.02.2006
Time: 23:12:31
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimGenLifeCycle
public SimGenLifeCycle()
SimGenLifeCycle
public SimGenLifeCycle(int fatAtBirth)
move
public boolean move()
- Specified by:
move
in interface ISimGenLifeCycle
haveSex
public void haveSex()
- Specified by:
haveSex
in interface ISimGenLifeCycle
getFatPerFood
public int getFatPerFood()
- Specified by:
getFatPerFood
in interface ISimGenLifeCycle
setFatPerFood
public void setFatPerFood(int fatPerFood)
- Specified by:
setFatPerFood
in interface ISimGenLifeCycle
getFatMinimumForPregnancy
public int getFatMinimumForPregnancy()
- Specified by:
getFatMinimumForPregnancy
in interface ISimGenLifeCycle
setFatMinimumForPregnancy
public void setFatMinimumForPregnancy(int fatMinimumForPregnancy)
- Specified by:
setFatMinimumForPregnancy
in interface ISimGenLifeCycle
getFullAge
public int getFullAge()
- Specified by:
getFullAge
in interface ISimGenLifeCycle
setFullAge
public void setFullAge(int fullAge)
- Specified by:
setFullAge
in interface ISimGenLifeCycle
getMaxHunger
public int getMaxHunger()
- Specified by:
getMaxHunger
in interface ISimGenLifeCycle
setMaxHunger
public void setMaxHunger(int maxHunger)
- Specified by:
setMaxHunger
in interface ISimGenLifeCycle
getMaxFat
public int getMaxFat()
- Specified by:
getMaxFat
in interface ISimGenLifeCycle
setMaxFat
public void setMaxFat(int maxFat)
- Specified by:
setMaxFat
in interface ISimGenLifeCycle
isFatEnoughForSex
public boolean isFatEnoughForSex()
- Specified by:
isFatEnoughForSex
in interface ISimGenLifeCycle
isPregnant
public boolean isPregnant()
- Specified by:
isPregnant
in interface ISimGenLifeCycle
isOldEnoughForSex
public boolean isOldEnoughForSex()
- Specified by:
isOldEnoughForSex
in interface ISimGenLifeCycle
isDead
public boolean isDead()
- Specified by:
isDead
in interface ISimGenLifeCycle
eat
public void eat()
- Specified by:
eat
in interface ISimGenLifeCycle
isNotDyingForHunger
public boolean isNotDyingForHunger()
- Specified by:
isNotDyingForHunger
in interface ISimGenLifeCycle
getFat
public int getFat()
- Specified by:
getFat
in interface ISimGenLifeCycle
getFatAtBirthDefault
public int getFatAtBirthDefault()
- Specified by:
getFatAtBirthDefault
in interface ISimGenLifeCycle
setFatAtBirthDefault
public void setFatAtBirthDefault(int fatAtBirthDefault)
- Specified by:
setFatAtBirthDefault
in interface ISimGenLifeCycle
Copyright © 2006-2008 Thomas Woehlke. All Rights Reserved.