35#pragma region static_functions
51#pragma region overridden_functions
54 auto init() ->
void override;
55 auto execute() ->
void override;
56 auto end() ->
void override;
59 auto render() const ->
void override;
63#pragma region PlaySoundEffectAction_functions
71#pragma region member_variables
80#pragma region helper_functions
84#pragma region static_variables
A class that changes a variable over a set duration.
float initialDelay
Delay that acts between the action being created and the action initializing.
Definition Action.h:262
float endingDelay
Delay that acts after the action has finished updating but before it has ended.
Definition Action.h:264
auto operator=(const PlayAudioAction &) -> PlayAudioAction &=default
PlayAudioAction(PlayAudioAction &&other) noexcept=default
~PlayAudioAction() override=default
auto setModulated(bool state) -> void
Definition PlayAudioAction.cpp:80
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition PlayAudioAction.cpp:76
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition PlayAudioAction.cpp:72
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition PlayAudioAction.cpp:67
bool modulated
Definition PlayAudioAction.h:76
PlayAudioAction(const PlayAudioAction &)=default
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition PlayAudioAction.cpp:63
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition PlayAudioAction.cpp:49
auto operator=(PlayAudioAction &&other) noexcept -> PlayAudioAction &=default
std::string soundEffect
Definition PlayAudioAction.h:74
PlayAudioAction()=default