Class WonRoundEvent
Event occurring when a bot has won the round.
Implements
Inherited Members
Namespace: Robocode.TankRoyale.BotApi.Events
Assembly: api.dll
Syntax
[PublicAPI]
public sealed class WonRoundEvent : BotEvent, IEvent
Constructors
| Edit this page View SourceWonRoundEvent(int)
Initializes a new instance of the WonRoundEvent class.
Declaration
[JsonConstructor]
public WonRoundEvent(int turnNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| int | turnNumber | Turn number. |
Properties
| Edit this page View SourceIsCritical
Indicates if this event is critical, and hence should not be removed from event queue when it gets old. This event is critical.
Declaration
public override bool IsCritical { get; }
Property Value
| Type | Description |
|---|---|
| bool |