Re: Is it possible to load a battle file in Java?
fnl <[email protected]>
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Sound like a nice feature request. :-) The BattleSpecification for the Control API needs to be extended in order to provide this functionality. I will try to get include it in the next version of Robocode. :-) Cheers, - Flemming Den torsdag den 10. april 2014 21.23.15 UTC+2 skrev [email protected]: > > I'm trying to use robocode through Java and having a number of issues > primarily related to the limitations of the API. Specifically, in this case > I want to be able to provide the initial positions of the robots for any > given round. I see that I can use a whatever.battle file to set that, but > the BattleSpecifications class (nor the RobotSpecification class) provide > me with the equivalent functionality in code. I figured I would just load > the battle files in via XML or something, one for each round, but I don't > even have the ability to provide the file as an argument to the engine. I'm > quickly running out of both proper and "hack"-y possible solutions, so any > advice would be greatly appreciated. > -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.