File size: 362 Bytes
3831e97
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""phase_elapsed tracking without pace multiply on raw delta."""
from __future__ import annotations
from game.sim.day_cycle import DayCycle

def raw_tick(day: DayCycle, dt: float) -> float:
    """Apply tick; DayCycle stores raw phase_elapsed seconds."""
    before = day.phase_elapsed
    day.tick(dt)
    return day.phase_elapsed - before
# reseal-product R43