Etterna 0.74.4
Loading...
Searching...
No Matches
HoldJudgment.h
1#ifndef HOLD_JUDGMENT_H
2#define HOLD_JUDGMENT_H
3
4#include "Etterna/Actor/Base/ActorFrame.h"
5#include "Etterna/Actor/Base/AutoActor.h"
6#include "Etterna/Models/Misc/GameConstantsAndTypes.h"
7#include "Etterna/Models/Misc/PlayerNumber.h"
8
9class HoldJudgment : public ActorFrame
10{
11 public:
13 [[nodiscard]] auto Copy() const -> HoldJudgment* override;
14 void Load(const std::string& sPath);
15 void LoadFromNode(const XNode* pNode) override;
16
17 void SetHoldJudgment(HoldNoteScore hns);
18 void LoadFromMultiPlayer(MultiPlayer mp);
19 void HandleMessage(const Message& msg) override;
20
21 // Lua
22 void PushSelf(lua_State* L) override;
23
24 protected:
25 void ResetAnimation();
26 AutoActor m_sprJudgment;
27 MultiPlayer m_mpToTrack;
28};
29
30#endif
A container for other Actors.
Definition ActorFrame.h:8
A smart pointer for Actor.
Definition AutoActor.h:13
Definition HoldJudgment.h:10
Definition XmlFile.h:95
Definition MessageManager.h:96