Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
guidelines:adding_gamebots_message_to_pogamut_java [2012/02/07 17:45]
martin.cerny
guidelines:adding_gamebots_message_to_pogamut_java [2012/02/07 17:47]
martin.cerny
Line 335: Line 335:
          
 } }
 +</code>
 +
 +===== Running the bot =====
 +
 +Now you can run you bot with following code (it is nearly the same as the default startup code, only
 +the module is replaced with our custom module):
 +
 +<code java>
 +        UDKBotRunner runner = new UDKBotRunner(new SpyVsSpyBotModule(<<YOURBOTCLASS>>.class), "SpyVsSpy");
 +        runner.setMain(true);
 +        runner.startAgent();
 +
 </code> </code>
  
guidelines/adding_gamebots_message_to_pogamut_java.txt · Last modified: 2012/02/07 17:50 by martin.cerny