RhythmGame 1.4.3
Loading...
Searching...
No Matches
Lr2SkinElementTimerState.h
Go to the documentation of this file.
1#pragma once
2
3#include <QObject>
4
5class Lr2SkinElementTimerState : public QObject {
6 Q_OBJECT
9 Q_PROPERTY(int dstTimerFire READ dstTimerFire NOTIFY dstTimerFireChanged)
10 Q_PROPERTY(int srcTimerFire READ srcTimerFire NOTIFY srcTimerFireChanged)
11
12public:
13 explicit Lr2SkinElementTimerState(QObject* parent = nullptr);
14
15 bool dstTimerCanFire() const;
16 bool srcTimerCanFire() const;
17 int dstTimerFire() const;
18 int srcTimerFire() const;
19
20 void setSnapshot(bool dstCanFire, int dstFire, bool srcCanFire, int srcFire);
21
22signals:
27
28private:
29 bool m_dstTimerCanFire = false;
30 bool m_srcTimerCanFire = false;
31 int m_dstTimerFire = -1;
32 int m_srcTimerFire = -1;
33};
Definition Lr2SkinElementTimerState.h:5
void setSnapshot(bool dstCanFire, int dstFire, bool srcCanFire, int srcFire)
Definition Lr2SkinElementTimerState.cpp:22
bool dstTimerCanFire
Definition Lr2SkinElementTimerState.h:7
int dstTimerFire
Definition Lr2SkinElementTimerState.h:9
int srcTimerFire
Definition Lr2SkinElementTimerState.h:10
bool srcTimerCanFire
Definition Lr2SkinElementTimerState.h:8