#include <capositiontable.h>
Public Member Functions | |
| ~CAPositionTable () | |
| Destructor. | |
| void | resetRace () |
| Resets the lap information (rank list). | |
| void | playerFinishedRace (CAPlayer *player) |
| Registers a player in the current lap rank list. | |
| void | playerDied (CAPlayer *player) |
| Registers a player in the current lap rank list if he died. | |
Static Public Member Functions | |
| static CAPositionTable * | getPositionTable () |
| Returns the one and only instance of position table. | |
|
|
Returns the one and only instance of position table. If it doesn't exist yet, it gets created here. |
|
|
Registers a player in the current lap rank list if he died. The first player who calls this function is the lap looser. |
|
|
Registers a player in the current lap rank list. The first player who calls this function is the lap winner. |
1.4.6