def _PrepareForSimulation( self, simulation: ReproductionShared.Simulation) -> None: super()._PrepareForSimulation(simulation) simulation.RegisterPhase( ReproductionShared.SimulationPhase( 30, self._PregnancyCachedTestSimulationPhase)) simulation.RegisterPhase( ReproductionShared.SimulationPhase( -30, self._PregnancyVisualsSimulationPhase))
def _PrepareForSimulation( self, simulation: ReproductionShared.Simulation) -> None: super()._PrepareForSimulation(simulation) simulation.RegisterPhase( ReproductionShared.SimulationPhase(-15, self._HandlerSimulationPhase))