setHatching

public void setHatching(boolean hatching)

Sets whether the egg will hatch or not.

Parameters

hatching

true if you want the egg to hatch, false if you want it not to