Debugging waves with onPaint()
Fragment of a discussion from Talk:Robocode/Graphical Debugging
Jump to navigation
Jump to search
Re: "But if you fire from run(), things might look a tick behind"
Unless of course your bot is using a trick like making your "run()" code happen at the start of onPaint when onPaint is called, effectively re-ordering the "run()" code to be before "onPaint()" :-)