mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-12 16:27:34 +00:00
22 lines
339 B
Java
22 lines
339 B
Java
package magicbees.bees;
|
|
|
|
import forestry.api.genetics.IAlleleFloat;
|
|
|
|
public class AlleleFloat extends Allele implements IAlleleFloat
|
|
{
|
|
private float value;
|
|
|
|
public AlleleFloat(String id, float val, boolean isDominant)
|
|
{
|
|
super(id, isDominant);
|
|
this.value = val;
|
|
}
|
|
|
|
@Override
|
|
public float getValue()
|
|
{
|
|
return this.value;
|
|
}
|
|
|
|
}
|