Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Functions
timer.hpp File Reference
#include <chrono>
#include <functional>
#include <thread>
#include <iostream>

Go to the source code of this file.

Functions

template<class T , class P >
void setTimer (std::chrono::duration< T, P > duration, std::function< void()> callback)
 

Function Documentation

◆ setTimer()

template<class T , class P >
void setTimer ( std::chrono::duration< T, P >  duration,
std::function< void()>  callback 
)