Class AnimalAllele
java.lang.Object
zombie.characters.animals.AnimalAllele
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
boolean
float
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
getName()
float
boolean
boolean
isUsed()
void
load
(ByteBuffer arg0, int arg1, boolean arg2) void
save
(ByteBuffer arg0, boolean arg1) void
setCurrentValue
(float arg0) void
setDominant
(boolean arg0) void
setGeneticDisorder
(String arg0) void
setTrueRatioValue
(float arg0) void
setUsed
(boolean arg0)
-
Field Details
-
name
-
currentValue
public float currentValue -
trueRatioValue
public float trueRatioValue -
dominant
public boolean dominant -
used
public boolean used -
geneticDisorder
-
-
Constructor Details
-
AnimalAllele
public AnimalAllele()
-
-
Method Details
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-
getName
-
getCurrentValue
public float getCurrentValue() -
setCurrentValue
public void setCurrentValue(float arg0) -
getTrueRatioValue
public float getTrueRatioValue() -
setTrueRatioValue
public void setTrueRatioValue(float arg0) -
isDominant
public boolean isDominant() -
setDominant
public void setDominant(boolean arg0) -
setUsed
public void setUsed(boolean arg0) -
isUsed
public boolean isUsed() -
getGeneticDisorder
-
setGeneticDisorder
-