TIME_OBJ
Definition
struct TIME_OBJ
{
bool _b_timer_on;
int _i_start;
int _i_alarm;
int _i_time_elapsed;
int _i_id;
};
Properties
| _b_timer_on | whether the timer is running or not |
| _i_start | the time (in SDL_GetTicks()) this timer was started |
| _i_alarm | the amount f time for the timer to run |
| _i_time_elapsed | elapsed time - saved on timer stop so timer can be successfully restarted |
| _i_id | ID that associates it with it's creating class or object |