Implemented GameTimer to calculate delta time