Race
The Race class is used to represent different factions - Federation, Romulan and so on. All properties are read only at present so they cannot be changed.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| boardingStrength | Number | R | Strength factor used in transporter attacks |
| displayName | String | R | Name as seen in user interface |
| name | String | R | Name as used in ODF code |
| number | Number | R | Number as defined in races.odf |
| repairStrength | Number | R | Factor applied to repair rate |
Functions
- Static Functions
Functions that are called without an instance of the Race class.
- find( raceNumber )
Find a race by number
- find( name )
Find a Race by its code name
- getAll( )
Get all available races
- find( raceNumber )
