Show / Hide Table of Contents

Class WonRoundEvent

Event occurring when a bot has won the round.

Inheritance
object
BotEvent
WonRoundEvent
Implements
IEvent
Inherited Members
BotEvent.TurnNumber
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Robocode.TankRoyale.BotApi.Events
Assembly: api.dll
Syntax
[PublicAPI]
public sealed class WonRoundEvent : BotEvent, IEvent

Constructors

| Edit this page View Source

WonRoundEvent(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 Source

IsCritical

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
Overrides
BotEvent.IsCritical

Implements

IEvent
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX