Created a GameTime class.