コード例 #1
0
 static void Main(string[] args)
 {
     //create a new bot with given account settings
     DotNetBotBody client = new DotNetBotBody("server", "username", "password", "nickname");
     client.StartNewGame();
     Console.ReadLine();
 }
コード例 #2
0
 /// <summary>
 /// A new mind that controls the given dotnetbotbody
 /// </summary>
 /// <param name="bot">the body that is the context for this strategy</param>
 public DotNetBotMind(DotNetBotBody bot)
 {
     this.dotnetbot = bot;
 }