Exemple #1
0
        static void Main(string[] args)
        {
            SimpleBot bot = new SimpleBot();


            while (!bot.BotQuit)
            {
                bot.Update();

                //run at 60Hz
                Thread.Sleep(16);
            }
        }
        static void Main(string[] args)
        {
            SimpleBot bot = new SimpleBot("http://localhost", 8000, "NickBot", "#EA9414");


            while (!bot.BotQuit)
            {
                bot.Update();

                //run at 60Hz
                Thread.Sleep(16);
            }
        }