I am completely new and trying to learn. I am wanting to know how to use the getGunCoolingRate. I get this error.
Compiling...
ERROR in C:\robocode\robots\oneshot\Bigkemosabi.java (at line 50)
public double getGunCoolingRate(){
^^^^^^^^^^^^^^^^^^^
This method must return a result of type double
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems like you are trying to implement or override the getGunCoolingRate() method?!
Normally, you just call this method to check how fast the gun is cooling down.
Which robot class are you extending? Robot, AdvancedRobot or an interface?
You could copy and paste your robot here so I can see your code. :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am completely new and trying to learn. I am wanting to know how to use the getGunCoolingRate. I get this error.
Compiling...
public double getGunCoolingRate(){
^^^^^^^^^^^^^^^^^^^
This method must return a result of type double
Hi Nicholas,
It seems like you are trying to implement or override the getGunCoolingRate() method?!
Normally, you just call this method to check how fast the gun is cooling down.
Which robot class are you extending? Robot, AdvancedRobot or an interface?
You could copy and paste your robot here so I can see your code. :-)