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

RobloxStateMachine - V.1.1.7 #16

Merged
merged 13 commits into from
May 12, 2024
Merged

RobloxStateMachine - V.1.1.7 #16

merged 13 commits into from
May 12, 2024

Conversation

prooheckcp
Copy link
Owner

@prooheckcp prooheckcp commented May 12, 2024

📝Description

Added multiple new features and QOL improvements. Also an upgrade to the documentation

🔧Changes

Version 1.1.7

-Added:

  • Added OnDestroy virtual Method on Transition

  • Added OnDestroy virtual method on State

  • State:Extend to extend the class

  • Transition:Extend to extend the class

  • Added State:CanChangeState method

  • Deprecated:

  • Transition:CanChangeState has been deprecated

  • QOL improvement:

  • Improved documentation

  • Can now Call class constructors without .new

--Example:
local StateMachine = require(ReplicatedStorage.RobloxStateMachine)
local GoToRed = require(script.Parent.Parent.Transitions.GoToRed)

local State = StateMachine.State

local ChangeColorState = State "ChangeColorState"
ChangeColorState.Transitions = {GoToRed}

👣Next steps

No further steps are necessary

@prooheckcp prooheckcp added documentation Improvements or additions to documentation enhancement New feature or request labels May 12, 2024
@prooheckcp prooheckcp self-assigned this May 12, 2024
@prooheckcp prooheckcp changed the title Version117 RobloxStateMachine - V.1.1.6 May 12, 2024
@prooheckcp prooheckcp changed the title RobloxStateMachine - V.1.1.6 RobloxStateMachine - V.1.1.7 May 12, 2024
@prooheckcp prooheckcp merged commit 2f7113a into main May 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant