The record of a fault committed by a robot in a race More...
Public Types | |
enum | Types { Types.RefusedPowerOnCall, Types.RefusedPowerOffCall, Types.PoweredOnPrematurely, Types.MovedBeforeStart } |
The types of faults More... | |
Public Member Functions | |
RaceFault (Types tp, float time) | |
[Used by the simulation. Do not invoke or override.] More... | |
override string | ToString () |
Returns a human-readable string of the type of fault More... | |
String | GetDescription () |
Returns a detailed description of how the fault occurred More... | |
bool | CanHaveMultiple () |
Returns whether or not this fault can be committed more than once per robot per race More... | |
Properties | |
Types | Type [get] |
The type of this fault More... | |
float | Time [get] |
The time this fault occurred, in seconds since the simulation started More... | |
The record of a fault committed by a robot in a race
|
strong |
The types of faults
RaceFault.RaceFault | ( | Types | tp, |
float | time | ||
) |
[Used by the simulation. Do not invoke or override.]
tp | |
time |
bool RaceFault.CanHaveMultiple | ( | ) |
Returns whether or not this fault can be committed more than once per robot per race
String RaceFault.GetDescription | ( | ) |
Returns a detailed description of how the fault occurred
override string RaceFault.ToString | ( | ) |
Returns a human-readable string of the type of fault
|
get |
The time this fault occurred, in seconds since the simulation started
|
get |
The type of this fault