29#pragma region static_functions
47#pragma region overridden_functions
50 auto init() ->
void override;
51 auto execute() ->
void override;
52 auto end() ->
void override;
55 auto render() const ->
void override;
60#pragma region ChangeRotationAction_functions
66#pragma region member_variables
77#pragma region helper_functions
81#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 render() const -> void override
Function used to draw things to screen, useful for things such as debug drawing.
Definition ChangeRotationAction.cpp:78
auto ActionShowMenu() -> void override
Displays a window in imgui.
Definition ChangeRotationAction.cpp:73
auto operator=(ChangeRotationAction &&other) noexcept -> ChangeRotationAction &=default
~ChangeRotationAction() override=default
auto operator=(const ChangeRotationAction &) -> ChangeRotationAction &=default
auto end() -> void override
Virtual function that is called once, when an Action is finished executing.
Definition ChangeRotationAction.cpp:69
auto setIsLocal(bool setLocal) -> void
Definition ChangeRotationAction.cpp:49
float endingRotation
Definition ChangeRotationAction.h:71
Transform * transform
Definition ChangeRotationAction.h:68
bool isLocal
Definition ChangeRotationAction.h:73
ChangeRotationAction()=default
auto init() -> void override
Virtual function that is called once, when the Action is first starting up.
Definition ChangeRotationAction.cpp:54
ChangeRotationAction(ChangeRotationAction &&other) noexcept=default
auto execute() -> void override
Virtual function that is called every frame to change a game object.
Definition ChangeRotationAction.cpp:64
auto setRotation(float newRotation) -> void
Definition ChangeRotationAction.cpp:44
float startingRotation
Definition ChangeRotationAction.h:70
ChangeRotationAction(const ChangeRotationAction &)=default