25 lines
357 B
C#
25 lines
357 B
C#
using System;
|
|
using System.Timers;
|
|
|
|
namespace WorldOfPeacecraft
|
|
{
|
|
public class AI
|
|
{
|
|
Timer timer;
|
|
bool challengeSomeone = false;
|
|
|
|
public AI ()
|
|
{
|
|
timer = new Timer (5000.0);
|
|
timer.Elapsed += new ElapsedEventHandler (OnTimedEvent);
|
|
timer.Start ();
|
|
}
|
|
|
|
private static void OnTimedEvent(object source, ElapsedEventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|
|
|