added _elapsedTimeInState field for SKState