Difference between revisions of "Thread:User talk:Beaming/Bots starting position randomizing is not working/reply (7)"

From Robowiki
Jump to navigation Jump to search
m
m (got it)
 
Line 1: Line 1:
 
I've looked into the newest robocode source code, but couldn't find where the robot start position settings are — except for the tests used by robocode itself. Could you still remember what config it was to fix start positions?
 
I've looked into the newest robocode source code, but couldn't find where the robot start position settings are — except for the tests used by robocode itself. Could you still remember what config it was to fix start positions?
 +
 +
 +
Edit: got it, it just hides behind some direct access instead of accessors.
 +
 +
the config is "robocode.battle.initialPositions".
 +
 +
Thanks for mentioning that feature anyway!

Latest revision as of 15:37, 27 July 2018

I've looked into the newest robocode source code, but couldn't find where the robot start position settings are — except for the tests used by robocode itself. Could you still remember what config it was to fix start positions?


Edit: got it, it just hides behind some direct access instead of accessors.

the config is "robocode.battle.initialPositions".

Thanks for mentioning that feature anyway!