4#include "Etterna/Actor/Base/ActorFrame.h"
5#include "Etterna/Models/Misc/GameConstantsAndTypes.h"
6#include "Etterna/Models/Misc/PlayerOptions.h"
21 m_pPlayerState = pPlayerState;
22 m_pPlayerStageStats = pPlayerStageStats;
24 virtual void OnLoadSong(){};
25 virtual void OnSongEnded(){};
37 virtual void ChangeLife(HoldNoteScore hns, TapNoteScore tns) = 0;
39 virtual void SetLife(
float value) = 0;
40 virtual void HandleTapScoreNone() = 0;
41 [[nodiscard]]
virtual auto IsInDanger() const ->
bool = 0;
42 [[nodiscard]] virtual auto IsHot() const ->
bool = 0;
43 [[nodiscard]] virtual auto IsFailing() const ->
bool = 0;
44 [[nodiscard]] virtual auto GetLife() const ->
float
49 static auto MakeLifeMeter(LifeType t) ->
LifeMeter*;
54 void PushSelf(lua_State* L)
override;
A container for other Actors.
Definition ActorFrame.h:8
The player's life.
Definition LifeMeter.h:13
virtual void ChangeLife(TapNoteScore score)=0
Change life after receiving a tap note grade.
virtual void ChangeLife(HoldNoteScore hns, TapNoteScore tns)=0
Change life after receiving a hold note grade.
Contains statistics for one stage of play - either one song, or a whole course.
Definition PlayerStageStats.h:19
The player's indivdual state.
Definition PlayerState.h:30