32#pragma region static_functions
53#pragma region overridden_functions
56 auto init() ->
void override;
57 auto execute() ->
void override;
58 auto end() ->
void override;
61 auto render() const ->
void override;
66#pragma region ChangeScaleAction_functions
74#pragma region member_variables
89#pragma region helper_functions
93#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 ActionShowMenu() -> void override
Displays a window in imgui.
Definition ChangeScaleAction.cpp:119
bool changingZ
Used to track if we want to change the z-value or not.
Definition ChangeScaleAction.h:84
Vector4D endingScale
Definition ChangeScaleAction.h:79
ChangeScaleAction()=default
Transform * transform
Definition ChangeScaleAction.h:76
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition ChangeScaleAction.cpp:103
ChangeScaleAction(ChangeScaleAction &&other) noexcept=default
~ChangeScaleAction() override=default
bool isWorldScale
Definition ChangeScaleAction.h:81
auto setIsWorldScale(bool newState) -> void
Definition ChangeScaleAction.cpp:129
auto operator=(const ChangeScaleAction &) -> ChangeScaleAction &=default
auto operator=(ChangeScaleAction &&other) noexcept -> ChangeScaleAction &=default
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition ChangeScaleAction.cpp:115
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition ChangeScaleAction.cpp:85
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition ChangeScaleAction.cpp:124
Vector4D startingScale
Definition ChangeScaleAction.h:78
ChangeScaleAction(const ChangeScaleAction &)=default