Should be able to reduce code like this:
auto current_time = std::chrono::high_resolution_clock::now();auto time_since_prev = std::chrono::duration_cast<std::chrono::milliseconds>(current_time-prev_hit_time_).count();
to something like this:
` int delta = timer_.GetDelta()'
by creating a timer class, that others can have as members.
Should be able to reduce code like this:
auto current_time = std::chrono::high_resolution_clock::now();
auto time_since_prev = std::chrono::duration_cast<std::chrono::milliseconds>(current_time-prev_hit_time_).count();
to something like this: ` int delta = timer_.GetDelta()'by creating a timer class, that others can have as members.