35#pragma region static_functions
51#pragma region overridden_functions
54 auto init() ->
void override;
55 auto execute() ->
void override;
56 auto end() ->
void override;
59 auto render() const ->
void override;
63#pragma region TranslateAction_functions
69#pragma region member_variables
78#pragma region helper_functions
82#pragma region static_variables
A class that changes a variable over a set duration.
float initialDelay
Definition Action.h:239
float endingDelay
Definition Action.h:240
Point2D endingPosition
Definition MoveToPointAction.h:74
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition MoveToPointAction.cpp:59
auto operator=(const MoveToPointAction &) -> MoveToPointAction &=default
auto operator=(MoveToPointAction &&other) noexcept -> MoveToPointAction &=default
Transform * objectTransform
Definition MoveToPointAction.h:71
~MoveToPointAction() override=default
Point2D startingPosition
Definition MoveToPointAction.h:73
MoveToPointAction(MoveToPointAction &&other) noexcept=default
MoveToPointAction(const MoveToPointAction &)=default
MoveToPointAction()=default
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition MoveToPointAction.cpp:49
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition MoveToPointAction.cpp:54
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition MoveToPointAction.cpp:64
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition MoveToPointAction.cpp:43