Class BulletFiredEvent
java.lang.Object
dev.robocode.tankroyale.botapi.events.BotEvent
dev.robocode.tankroyale.botapi.events.BulletFiredEvent
-
Constructor Summary
ConstructorDescriptionBulletFiredEvent
(int turnNumber, BulletState bullet) Initializes a new instance of the BulletFiredEvent class. -
Method Summary
Methods inherited from class dev.robocode.tankroyale.botapi.events.BotEvent
getTurnNumber, isCritical
-
Constructor Details
-
BulletFiredEvent
Initializes a new instance of the BulletFiredEvent class.- Parameters:
turnNumber
- is the turn number when the bullet was fired.bullet
- is the bullet that was fired.
-
-
Method Details
-
getBullet
Returns the bullet that was fired.- Returns:
- The bullet that was fired.
-