Debugging waves with onPaint()
Fragment of a discussion from Talk:Robocode/Graphical Debugging
← Thread:Talk:Robocode/Graphical Debugging/Debugging waves with onPaint()/reply (6)
Jump to navigation
Jump to search
← Thread:Talk:Robocode/Graphical Debugging/Debugging waves with onPaint()/reply (6)
I assume you're referring to if you use the "getGraphics()" call instead of implementing "onPaint()" right?
At least personally I don't care for that approach because then either your bot will spend CPU time on the painting when painting is disabled, or you have to check if onPaint is called anyway.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:Robocode/Graphical Debugging/Debugging waves with onPaint()/reply (7).