We have the GameTime class, but in hindsight I this should either not to be exposed, or exposed but not used by the Engine's API.
Instead, it should probably be IEngine<TTime> where you specify which Time mechanisms you're using (Gregorian or something custom), and you're expected to provide (or consume if we provide) an interface that can convert between TTime and GameTime, which the Engine can then use to work as per current behaviour.
We have the
GameTime
class, but in hindsight I this should either not to be exposed, or exposed but not used by the Engine's API.Instead, it should probably be
IEngine<TTime>
where you specify which Time mechanisms you're using (Gregorian or something custom), and you're expected to provide (or consume if we provide) an interface that can convert betweenTTime
andGameTime
, which the Engine can then use to work as per current behaviour.