30#pragma region static_functions
45#pragma region overridden_functions
48 auto init() ->
void override;
49 auto execute() ->
void override;
50 auto end() ->
void override;
53 auto render() const ->
void override;
57#pragma region ChangeColorAction_functions
66#pragma region member_variables
75#pragma region helper_functions
79#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
ChangeColorAction()=default
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition ChangeColorAction.cpp:53
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition ChangeColorAction.cpp:48
auto operator=(const ChangeColorAction &) -> ChangeColorAction &=default
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition ChangeColorAction.cpp:62
Vector4D startingColor
Definition ChangeColorAction.h:70
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition ChangeColorAction.cpp:57
ChangeColorAction(const ChangeColorAction &)=default
Vector4D endingColor
Definition ChangeColorAction.h:71
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition ChangeColorAction.cpp:42
Sprite * sprite
Definition ChangeColorAction.h:68
auto operator=(ChangeColorAction &&other) noexcept -> ChangeColorAction &=default
~ChangeColorAction() override=default
auto setColor(const Vector4D &color) -> void
Definition ChangeColorAction.cpp:67
ChangeColorAction(ChangeColorAction &&other) noexcept=default
A component that renders an image on an entity, or text.
Definition Sprite.h:38