You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function will allow you to schedule a function to run after a certain amount of seconds. It will do this by creating a timer and setting the timer tick rate to the given seconds. The function you've scheduled will then be run once.
The function will most likely look somewhat like this:
public void Delay (int seconds, action function)
{
Timer tmr = new Timer();
tmr.Interval = seconds;
tmr.Tick+- ...
//And so on...
}
Not sure how I'll work with the timer there, we'll see.
The text was updated successfully, but these errors were encountered:
This function will allow you to schedule a function to run after a certain amount of seconds. It will do this by creating a timer and setting the timer tick rate to the given seconds. The function you've scheduled will then be run once.
The function will most likely look somewhat like this:
Not sure how I'll work with the timer there, we'll see.
The text was updated successfully, but these errors were encountered: