The state of a single column, including its notes and whether it is currently pressed.
More...
#include <NoteState.h>
The state of a single column, including its notes and whether it is currently pressed.
- See also
- NoteState
◆ Role
| Enumerator |
|---|
| NoteTypeRole | |
| NotePositionRole | |
| NoteHitRole | |
| NoteOtherEndHitRole | |
| BelowBottomRole | |
| LongNoteEndPositionRole | |
| VisibleNoteRole | |
| HeldLongNoteRole | |
| StaticLongNoteCandidateRole | |
◆ ColumnState()
| gameplay_logic::ColumnState::ColumnState |
( |
QList< NoteState > |
notes, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ data()
| auto gameplay_logic::ColumnState::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const -> QVariant |
|
override |
◆ getLnBeginBounds()
| auto gameplay_logic::ColumnState::getLnBeginBounds |
( |
double |
position | ) |
const -> std::optional<std::pair<int, int>> |
First and last LN begin rows whose bodies cross this position.
◆ getNotes() [1/2]
| auto gameplay_logic::ColumnState::getNotes |
( |
| ) |
-> QList<NoteState>& |
|
inline |
◆ getNotes() [2/2]
| auto gameplay_logic::ColumnState::getNotes |
( |
| ) |
const -> const QList<NoteState>& |
|
inline |
◆ holdingLongNoteChanged
| void gameplay_logic::ColumnState::holdingLongNoteChanged |
( |
| ) |
|
|
signal |
◆ isHoldingLongNote()
| auto gameplay_logic::ColumnState::isHoldingLongNote |
( |
| ) |
const -> bool |
◆ isPressed()
| auto gameplay_logic::ColumnState::isPressed |
( |
| ) |
const -> bool |
◆ mapTimeIndexToPositionIndex()
| auto gameplay_logic::ColumnState::mapTimeIndexToPositionIndex |
( |
int64_t |
timeIndex | ) |
const -> int |
◆ onHitEvent()
| void gameplay_logic::ColumnState::onHitEvent |
( |
HitEvent |
hit | ) |
|
◆ pressedChanged
| void gameplay_logic::ColumnState::pressedChanged |
( |
| ) |
|
|
signal |
◆ roleNames()
| auto gameplay_logic::ColumnState::roleNames |
( |
| ) |
const -> QHash<int, QByteArray> |
|
override |
◆ rowCount()
| auto gameplay_logic::ColumnState::rowCount |
( |
const QModelIndex & |
parent | ) |
const -> int |
|
override |
◆ holdingLongNote
| bool gameplay_logic::ColumnState::holdingLongNote = false |
|
read |
◆ pressed
| bool gameplay_logic::ColumnState::pressed = false |
|
read |
The documentation for this class was generated from the following files: