smudge202 / clean-living

Walking a mile in the shoes of a game developer.
Apache License 2.0
4 stars 0 forks source link

game-time #11

Closed smudge202 closed 9 years ago

smudge202 commented 9 years ago

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.