Modifying the Robocode Game.

From RoboWiki
Fragment of a discussion from Talk:Main Page
Jump to: navigation, search

Sorry - I meant where ever you're debugging and seeing an AdvancedRobot when you want to see a FreezeRobot, try instanceof on that variable. It's probably true for "instanceof FreezeRobot", which is one way you could test the type of a robot - though probably not the fastest way, so you might want to figure something else in final implementation.

Voidious02:00, 29 August 2012
Personal tools