Module: Race

Represents a k-drive race

new (require("Race"))(type, highScore)

Parameters:
Name Type Description
type string Race name
highScore number high score
Source:

Members


highScore :number

Race High score
Type:
  • number
Source:

uniqueName :String

Race name
Type:
  • String
Source:

Methods


<static> fromRaceObject(races)

Created an array of Race objects from DE's Races array
Parameters:
Name Type Description
races Object Array of races
Source:
Returns:
An array of races formatted in a more consumable way.
Type
Array.<Race>