#include <BmsGauge.h>
◆ BmsGauge()
| gameplay_logic::rules::BmsGauge::BmsGauge |
( |
QString |
name, |
|
|
double |
gaugeMax, |
|
|
double |
initialValue, |
|
|
double |
threshold, |
|
|
bool |
courseGauge, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ addGaugeHistoryEntry()
| void gameplay_logic::rules::BmsGauge::addGaugeHistoryEntry |
( |
GaugeHistoryEntry |
entry | ) |
|
|
protected |
◆ addHit()
| virtual void gameplay_logic::rules::BmsGauge::addHit |
( |
std::chrono::nanoseconds |
offsetFromStart, |
|
|
std::chrono::nanoseconds |
hitOffset, |
|
|
Judgement |
judgement |
|
) |
| |
|
pure virtual |
◆ addMineHit()
| virtual void gameplay_logic::rules::BmsGauge::addMineHit |
( |
std::chrono::nanoseconds |
offsetFromStart, |
|
|
double |
penalty |
|
) |
| |
|
pure virtual |
◆ gaugeChanged
| void gameplay_logic::rules::BmsGauge::gaugeChanged |
( |
| ) |
|
|
signal |
◆ getGauge()
| auto gameplay_logic::rules::BmsGauge::getGauge |
( |
| ) |
const -> double |
◆ getGaugeHistory()
| auto gameplay_logic::rules::BmsGauge::getGaugeHistory |
( |
| ) |
const -> const QList<GaugeHistoryEntry>& |
◆ getGaugeMax()
| auto gameplay_logic::rules::BmsGauge::getGaugeMax |
( |
| ) |
const -> double |
◆ getName()
| auto gameplay_logic::rules::BmsGauge::getName |
( |
| ) |
const -> QString |
◆ getThreshold()
| auto gameplay_logic::rules::BmsGauge::getThreshold |
( |
| ) |
const -> double |
◆ isCourseGauge()
| auto gameplay_logic::rules::BmsGauge::isCourseGauge |
( |
| ) |
const -> bool |
◆ courseGauge
| bool gameplay_logic::rules::BmsGauge::courseGauge |
|
read |
Whether the gauge is a course gauge.
Course gauges are only used in courses and have different behavior. They give NOPLAY clears on the charts that constitute the course.
◆ gauge
| double gameplay_logic::rules::BmsGauge::gauge |
|
read |
The current value of the gauge.
◆ gaugeMax
| double gameplay_logic::rules::BmsGauge::gaugeMax |
|
read |
The maximum possible value of the gauge.
◆ getGaugeHistory
The history of the gauge.
A list of entries that record the value of the gauge at the timestamps when it changed.
◆ name
| QString gameplay_logic::rules::BmsGauge::name |
|
read |
◆ threshold
| double gameplay_logic::rules::BmsGauge::threshold = 0 |
|
read |
The threshold value of the gauge.
If the gauge is below this value at the end of the song, the player fails.
The documentation for this class was generated from the following files: