Is it possible to load a battle file in Java?

[email protected]
Newsgroups gmane.comp.java.robocode
Message-ID <[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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.