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