#ifndef TIMER_H_45E2F1F9#define TIMER_H_45E2F1F9classTimer{public:Timer(intdt):dt_(dt){}voidaccumulate(intt){acc_+=t;}boolstep(){if(acc_>dt_){acc_-=dt_;returntrue;}else{returnfalse;}}private:intdt_;intacc_=0;};#endif /* end of include guard: TIMER_H_45E2F1F9 */