abstract class HybridBody<first extends Body, second extends Body> extends Body
{
	public HybridBody (HybridBody b) { super(b); }
	public HybridBody(int initX, int initY, int initZ, AgeState initAgeState, Body p1, Body p2) { super(initX,initY,initZ,initAgeState,p1,p2); }
	
	public boolean isHybrid () { return true; }
	public int hybridType1 () { return parents[0].getType(); }
	public int hybridType2 () { return parents[1].getType(); }
	
	public int getHybridType (int partnerType) { return parents[rnd.nextInt(2)].getHybridType(partnerType); }
}