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;
58#pragma region MoveHorizontalAction_functions
64#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
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition MoveHorizontalAction.cpp:58
MoveHorizontalAction(const MoveHorizontalAction &)=default
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition MoveHorizontalAction.cpp:73
Transform * transform
Definition MoveHorizontalAction.h:68
MoveHorizontalAction(MoveHorizontalAction &&other) noexcept=default
float endingX
Definition MoveHorizontalAction.h:71
MoveHorizontalAction()=default
float startingX
Definition MoveHorizontalAction.h:70
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition MoveHorizontalAction.cpp:64
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition MoveHorizontalAction.cpp:46
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition MoveHorizontalAction.cpp:68
auto operator=(MoveHorizontalAction &&other) noexcept -> MoveHorizontalAction &=default
~MoveHorizontalAction() override=default
auto operator=(const MoveHorizontalAction &) -> MoveHorizontalAction &=default