35#pragma region static_functions
52#pragma region overridden_functions
55 auto init() ->
void override;
56 auto execute() ->
void override;
57 auto end() ->
void override;
60 auto render() const ->
void override;
64#pragma region TranslateAction_functions
72#pragma region member_variables
83#pragma region helper_functions
87#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 endingPosition
Definition MoveToPointAction.h:77
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition MoveToPointAction.cpp:80
auto operator=(const MoveToPointAction &) -> MoveToPointAction &=default
auto operator=(MoveToPointAction &&other) noexcept -> MoveToPointAction &=default
Transform * objectTransform
Definition MoveToPointAction.h:74
~MoveToPointAction() override=default
Point2D startingPosition
Definition MoveToPointAction.h:76
bool isWorldPoint
Definition MoveToPointAction.h:79
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:63
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition MoveToPointAction.cpp:75
auto render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition MoveToPointAction.cpp:85
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition MoveToPointAction.cpp:50
auto setIsWorld(bool newState) -> void
Definition MoveToPointAction.cpp:90