Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a State Handler base node #101

Merged
merged 2 commits into from
Jun 16, 2023
Merged

Add a State Handler base node #101

merged 2 commits into from
Jun 16, 2023

Conversation

krazyjakee
Copy link
Collaborator

@krazyjakee krazyjakee commented Jun 16, 2023

Introduces a new base node, the StateHandler. The StateHandler is a node that can handle and control events from a state machine. It provides a base class for custom nodes that need to react to state machine events.

The StateHandler is designed to be used in conjunction with the existing NodotCharacter3D class. It can be used to add custom logic to the character's state machine.

This change includes a refactoring of the existing CharacterExtensionBase3D class to inherit from the new StateHandler node. The CharacterExtensionBase3D class is now a more specialized class that can be used to add custom logic to the character's state machine.

Overall, this change will make it easier to add custom logic to the character's state machine, and will improve the overall flexibility and extensibility of the project.

Closes #100 and #62

@krazyjakee krazyjakee merged commit 5414873 into main Jun 16, 2023
@krazyjakee krazyjakee deleted the state-handler branch June 16, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a StateHandler Node
1 participant