#include <Lr2Gauge.h>
|
| | Lr2Gauge (QString gaugeName, double gaugeMax, double initialValue, double threshold, bool permanentDeath, bool courseGauge, std::function< double(double, Judgement)> judgementValueFactory, QObject *parent=nullptr) |
| |
| void | addHit (std::chrono::nanoseconds offsetFromStart, std::chrono::nanoseconds hitOffset, Judgement judgement) override |
| |
| void | addMineHit (std::chrono::nanoseconds offsetFromStart, double penalty) override |
| |
| | BmsGauge (QString name, double gaugeMax, double initialValue, double threshold, bool courseGauge, QObject *parent=nullptr) |
| |
| auto | getGauge () const -> double |
| |
| auto | getGaugeMax () const -> double |
| |
| auto | getThreshold () const -> double |
| |
| auto | getGaugeHistory () const -> const QList< GaugeHistoryEntry > & |
| |
| auto | getName () const -> QString |
| |
| auto | isCourseGauge () const -> bool |
| |
|
| static auto | getGauges (double total, int noteCount) -> std::vector< std::unique_ptr< BmsGauge > > |
| |
| static auto | getDanGauges (const QHash< QString, double > &initialValues) -> std::vector< std::unique_ptr< BmsGauge > > |
| |
◆ Lr2Gauge()
| gameplay_logic::rules::Lr2Gauge::Lr2Gauge |
( |
QString |
gaugeName, |
|
|
double |
gaugeMax, |
|
|
double |
initialValue, |
|
|
double |
threshold, |
|
|
bool |
permanentDeath, |
|
|
bool |
courseGauge, |
|
|
std::function< double(double, Judgement)> |
judgementValueFactory, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ addHit()
| void gameplay_logic::rules::Lr2Gauge::addHit |
( |
std::chrono::nanoseconds |
offsetFromStart, |
|
|
std::chrono::nanoseconds |
hitOffset, |
|
|
Judgement |
judgement |
|
) |
| |
|
overridevirtual |
◆ addMineHit()
| void gameplay_logic::rules::Lr2Gauge::addMineHit |
( |
std::chrono::nanoseconds |
offsetFromStart, |
|
|
double |
penalty |
|
) |
| |
|
overridevirtual |
◆ getDanGauges()
| auto gameplay_logic::rules::Lr2Gauge::getDanGauges |
( |
const QHash< QString, double > & |
initialValues | ) |
-> std::vector<std::unique_ptr<BmsGauge>> |
|
static |
◆ getGauges()
| auto gameplay_logic::rules::Lr2Gauge::getGauges |
( |
double |
total, |
|
|
int |
noteCount |
|
) |
| -> std::vector<std::unique_ptr<BmsGauge>> |
|
static |
The documentation for this class was generated from the following files: