5#ifndef RHYTHMGAME_LR2GAUGE_H
6#define RHYTHMGAME_LR2GAUGE_H
17 std::function<double(
double,
Judgement)> judgementValueFactory;
27 std::function<
double(
double,
Judgement)> judgementValueFactory,
28 QObject* parent =
nullptr);
30 std::chrono::nanoseconds hitOffset,
33 double penalty)
override;
35 static auto getGauges(
double total,
int noteCount)
36 -> std::vector<std::unique_ptr<BmsGauge>>;
38 static auto getDanGauges(
const QHash<QString, double>& initialValues) -> std::vector<std::unique_ptr<BmsGauge>>;
int64_t offsetFromStart
Definition BmsReplayData.cpp:38
bool courseGauge
Whether the gauge is a course gauge.
Definition BmsGauge.h:53
double gaugeMax
The maximum possible value of the gauge.
Definition BmsGauge.h:61
double threshold
The threshold value of the gauge.
Definition BmsGauge.h:67
void addMineHit(std::chrono::nanoseconds offsetFromStart, double penalty) override
Definition Lr2Gauge.cpp:308
static auto getDanGauges(const QHash< QString, double > &initialValues) -> std::vector< std::unique_ptr< BmsGauge > >
Definition Lr2Gauge.cpp:218
void addHit(std::chrono::nanoseconds offsetFromStart, std::chrono::nanoseconds hitOffset, Judgement judgement) override
Definition Lr2Gauge.cpp:9
static auto getGauges(double total, int noteCount) -> std::vector< std::unique_ptr< BmsGauge > >
Definition Lr2Gauge.cpp:49
Judgement
The possible judgements for note hits.
Definition Judgement.h:18
Namespace for logic that affects how the game plays exactly.
Definition BmsGauge.cpp:7