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 byteBuffer, int var2, boolean var3) void
save
(ByteBuffer byteBuffer, boolean var2) void
setCurrentValue
(float float0) void
setDominant
(boolean boolean0) void
setGeneticDisorder
(String string) void
setTrueRatioValue
(float float0) void
setUsed
(boolean boolean0)
-
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 float0) -
getTrueRatioValue
public float getTrueRatioValue() -
setTrueRatioValue
public void setTrueRatioValue(float float0) -
isDominant
public boolean isDominant() -
setDominant
public void setDominant(boolean boolean0) -
setUsed
public void setUsed(boolean boolean0) -
isUsed
public boolean isUsed() -
getGeneticDisorder
-
setGeneticDisorder
-