Created IngameState
Changed the way timeSinceLastFrame is handled