Show / Hide Table of Contents

Class DeathEvent

Event occurring when your bot has died.

Inheritance
object
BotEvent
DeathEvent
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 DeathEvent : BotEvent, IEvent

Constructors

| Edit this page View Source

DeathEvent(int)

Initializes a new instance of the DeathEvent class.

Declaration
[JsonConstructor]
public DeathEvent(int turnNumber)
Parameters
Type Name Description
int turnNumber

Turn number when your bot died.

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