RhythmGame 1.4.3
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | List of all members
qml_components::ScoreReplayer Class Reference

#include <ScoreReplayer.h>

Inheritance diagram for qml_components::ScoreReplayer:
Inheritance graph
[legend]
Collaboration diagram for qml_components::ScoreReplayer:
Collaboration graph
[legend]

Signals

void hitEventsChanged ()
 
void pointsChanged ()
 

Public Member Functions

 ScoreReplayer (QObject *parent=nullptr)
 
auto getHitEvents () const -> const QList< gameplay_logic::HitEvent > &
 
void setHitEvents (const QList< gameplay_logic::HitEvent > &hitEvents)
 
void resetHitEvents ()
 
auto getPoints () const -> double
 
Q_INVOKABLE void notifyHit (const gameplay_logic::HitEvent &currentHit)
 
Q_INVOKABLE void resetPoints ()
 

Properties

QML_ELEMENTQList< gameplay_logic::HitEvent > hitEvents
 
double points
 

Constructor & Destructor Documentation

◆ ScoreReplayer()

qml_components::ScoreReplayer::ScoreReplayer ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ getHitEvents()

auto qml_components::ScoreReplayer::getHitEvents ( ) const -> const QList<gameplay_logic::HitEvent>&

◆ getPoints()

auto qml_components::ScoreReplayer::getPoints ( ) const -> double

◆ hitEventsChanged

void qml_components::ScoreReplayer::hitEventsChanged ( )
signal

◆ notifyHit()

void qml_components::ScoreReplayer::notifyHit ( const gameplay_logic::HitEvent &  currentHit)

◆ pointsChanged

void qml_components::ScoreReplayer::pointsChanged ( )
signal

◆ resetHitEvents()

void qml_components::ScoreReplayer::resetHitEvents ( )

◆ resetPoints()

void qml_components::ScoreReplayer::resetPoints ( )

◆ setHitEvents()

void qml_components::ScoreReplayer::setHitEvents ( const QList< gameplay_logic::HitEvent > &  hitEvents)

Property Documentation

◆ hitEvents

QML_ELEMENTQList<gameplay_logic::HitEvent> qml_components::ScoreReplayer::hitEvents
read

◆ points

double qml_components::ScoreReplayer::points
read

The documentation for this class was generated from the following files: