JuniorRobot Fire Method Robocode Robot API for .NET
Overload List

  NameDescription
Public methodFire 
Fires a bullet with the default power of 1. If the gun heat is more than 0 and hence cannot Fire, this method will suspend until the gun is ready to Fire, and then Fire a bullet.
Public methodFire(Double)
Fires a bullet with the specified bullet power, which is between 0.1 and 3 where 3 is the maximum bullet power. If the gun heat is more than 0 and hence cannot Fire, this method will suspend until the gun is ready to Fire, and then Fire a bullet.
Back to Top
See Also