31#pragma region static_functions
46#pragma region overridden_functions
49 auto init() ->
void override;
50 auto execute() ->
void override;
51 auto end() ->
void override;
54 auto render() const ->
void override;
59#pragma region FlashColor_functions
65#pragma region member_variables
76#pragma region helper_functions
80#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
Vector4D flashColor
Definition FlashColor.h:70
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition FlashColor.cpp:45
~FlashColor() override=default
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition FlashColor.cpp:72
FlashColor(FlashColor &&other) noexcept=default
Vector4D startingColor
Definition FlashColor.h:69
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition FlashColor.cpp:77
auto operator=(const FlashColor &) -> FlashColor &=default
bool colorChanging
Definition FlashColor.h:72
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition FlashColor.cpp:68
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition FlashColor.cpp:51
Sprite * sprite
Definition FlashColor.h:67
FlashColor(const FlashColor &)=default
auto operator=(FlashColor &&other) noexcept -> FlashColor &=default
A component that renders an image on an entity, or text.
Definition Sprite.h:38