|
coastline 0.0.4
|
How a player finished a race. More...
#include <racesession.h>

Public Attributes | |
| int | lap = 0 |
| int | position = 0 |
| int | bestLap = 0 |
| f32 | totalTime = 0.0f |
| f32 | bestLapTime = 0.0f |
| std::array< f32, RESULT_LAPS > | lapTimes {} |
How a player finished a race.
| int coastline::RacePlayerResult::lap = 0 |
The laps completed.
| int coastline::RacePlayerResult::position = 0 |
The place, from 0 for the winner.
| int coastline::RacePlayerResult::bestLap = 0 |
The best lap, from 0.
| f32 coastline::RacePlayerResult::totalTime = 0.0f |
The time of the race, in seconds.
| f32 coastline::RacePlayerResult::bestLapTime = 0.0f |
The time of the best lap, in seconds.
| std::array<f32, RESULT_LAPS> coastline::RacePlayerResult::lapTimes {} |
The time of each lap, in seconds.