//this is where we kick off all the timers for the game public static void StartUpTimers() { //timer for player driven events that affect stats (regeneration, hunger, poison, etc) MudTimer playerTimer = new MudTimer(5, 120); //every 2 minutes playerTimer.TimerElapsed += new MudTimer.ElapsedEventHandler(PlayerTimerTick); MudTimer timeTimer = new MudTimer(1, 60); timeTimer.TimerElapsed += new MudTimer.ElapsedEventHandler(TimeTimerTick); //MudTimer dayTimer = new MudTimer(900, 25); //every 28 seconds in real life equals 1 second game time (12 hours in game = 3 hours real time) //dayTimer.TimerElapsed += new MudTimer.ElapsedEventHandler(DayTimerTick); MudTimer weatherTimer = new MudTimer(900); //(5400 seconds) every half-hour in real life (2 hours in game) we kick off an attempt at a weather change weatherTimer.TimerElapsed += new MudTimer.ElapsedEventHandler(weatherTimerTick); }