Class BulletFiredEvent
Event occurring when a bullet has been fired from a bot.
Implements
Inherited Members
Namespace: Robocode.TankRoyale.BotApi.Events
Assembly: Robocode.TankRoyale.BotApi.dll
Syntax
public sealed class BulletFiredEvent : BotEvent, IEvent
Constructors
| Edit this page View SourceBulletFiredEvent(int, BulletState)
Initializes a new instance of the BulletFiredEvent class.
Declaration
[JsonConstructor]
public BulletFiredEvent(int turnNumber, BulletState bullet)
Parameters
Type | Name | Description |
---|---|---|
int | turnNumber | Turn number. |
BulletState | bullet | Bullet that was fired. |
Properties
| Edit this page View SourceBullet
Bullet that was fired.
Declaration
public BulletState Bullet { get; }
Property Value
Type | Description |
---|---|
BulletState |