18#ifndef HEADER_LAP_TRIAL_HPP
19#define HEADER_LAP_TRIAL_HPP
21#include "modes/linear_world.hpp"
30 virtual void reset(
bool restart =
false) OVERRIDE;
31 virtual void update(
int ticks) OVERRIDE;
33 virtual const std::string&
getIdent() const OVERRIDE {
return IDENT_LAP_TRIAL; }
35 virtual void getKartsDisplayInfo(std::vector<RaceGUIBase::KartIconDisplayInfo>* icons) OVERRIDE;
37 bool m_count_down_reached_zero;
Definition: lap_trial.hpp:24
virtual void update(int ticks) OVERRIDE
General update function called once per frame.
Definition: lap_trial.cpp:83
virtual const std::string & getIdent() const OVERRIDE
Each game mode should have a unique identifier.
Definition: lap_trial.hpp:33
virtual void terminateRace() OVERRIDE
Called at the end of a race.
Definition: lap_trial.cpp:88
virtual void reset(bool restart=false) OVERRIDE
Called before a race is started (or restarted).
Definition: lap_trial.cpp:76
virtual void getKartsDisplayInfo(std::vector< RaceGUIBase::KartIconDisplayInfo > *icons) OVERRIDE
Called by the code that draws the list of karts on the race GUI to know what needs to be drawn in the...
Definition: lap_trial.cpp:43
virtual void countdownReachedZero() OVERRIDE
Will be called to notify your derived class that the clock, which is in COUNTDOWN mode,...
Definition: lap_trial.cpp:36
virtual bool isRaceOver() OVERRIDE
Returns true if the race is over.
Definition: lap_trial.cpp:31
virtual bool showLapsTarget() OVERRIDE
If true lap counter shows lap count in format: 4/20 or if false then in format: 4.
Definition: lap_trial.hpp:34
Definition: linear_world.hpp:36