36#pragma region static_functions
56#pragma region overridden_functions
59 auto init() ->
void override;
60 auto execute() ->
void override;
61 auto end() ->
void override;
64 auto render() const ->
void override;
69#pragma region SetPositionAction_functions
75#pragma region member_variables
87#pragma region helper_functions
91#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
Point2D newPosition
Definition SetPositionAction.h:81
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition SetPositionAction.cpp:66
auto operator=(const SetPositionAction &) -> SetPositionAction &=default
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition SetPositionAction.cpp:76
SetPositionAction(SetPositionAction &&other) noexcept=default
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition SetPositionAction.cpp:88
SetPositionAction(const SetPositionAction &)=default
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition SetPositionAction.cpp:93
Transform * transformToMoveTo
Definition SetPositionAction.h:83
auto operator=(SetPositionAction &&other) noexcept -> SetPositionAction &=default
~SetPositionAction() override=default
SetPositionAction()=default
Transform * transform
Definition SetPositionAction.h:79
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition SetPositionAction.cpp:84