30#pragma region static_functions
59#pragma region overridden_functions
62 auto init() ->
void override;
63 auto execute() ->
void override;
64 auto end() ->
void override;
67 auto render() const ->
void override;
72#pragma region ChangeZLayerAction_functions
78#pragma region member_variables
90#pragma region helper_functions
94#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=(ChangeZLayerAction &&other) noexcept -> ChangeZLayerAction &=default
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition ChangeZLayerAction.cpp:65
ChangeZLayerAction()=default
ChangeZLayerAction(const ChangeZLayerAction &)=default
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition ChangeZLayerAction.cpp:61
float endingZLayer
Definition ChangeZLayerAction.h:85
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition ChangeZLayerAction.cpp:55
Transform * transform
Definition ChangeZLayerAction.h:82
auto operator=(const ChangeZLayerAction &) -> ChangeZLayerAction &=default
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition ChangeZLayerAction.cpp:70
float startingZLayer
Definition ChangeZLayerAction.h:84
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition ChangeZLayerAction.cpp:46
~ChangeZLayerAction() override=default
ChangeZLayerAction(ChangeZLayerAction &&other) noexcept=default