JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q36240F
  • License ISC

A standard state machine object for Roblox. He's your buddy that helps you manage states!

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gandalfwisdom/statebuddy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    StateBuddy

    A simple state machine class in roblox.

    Dependencies

    This resource is dependant on the Nevermore framework. It will not work without it.

    Features

    StateBuddy allows you to easily manage, create, and remove states with features such as:

    • Set Enter, Started, and Completed functions respectively.
    • Set a lifetime for your states, giving them a limited run-time if needed.
    • Set any function parameters necesary for your needs. (Each state can have it's own custom params)
    • All StateBuddies can be named and are logged into a centralized table so you can index the current state of any StateBuddy object currently active by just the name.
    • Full --!strict mode support.

    Installation

    StateBuddy supports Nevermore's npm package installation method.

    Simply type npm install @gandalfwisdom/statebuddy to install.