Class BulletHitWallEvent
java.lang.Object
dev.robocode.tankroyale.botapi.events.BotEvent
dev.robocode.tankroyale.botapi.events.BulletHitWallEvent
-
Constructor Summary
ConstructorDescriptionBulletHitWallEvent
(int turnNumber, BulletState bullet) Initializes a new instance of the BulletHitWallEvent class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the bullet that has hit a wall.Methods inherited from class dev.robocode.tankroyale.botapi.events.BotEvent
getTurnNumber, isCritical
-
Constructor Details
-
BulletHitWallEvent
Initializes a new instance of the BulletHitWallEvent class.- Parameters:
turnNumber
- is the turn number when the bullet has hit a wall.bullet
- is the bullet that has hit a wall.
-
-
Method Details
-
getBullet
Returns the bullet that has hit a wall.- Returns:
- The bullet that has hit a wall.
-