Fixed method used by GameTime class to keep track of time and implemented it for use in the wave countdown.