Skip to content

Hierarchical state machine via the factory design? #211

@AleksVAnd

Description

@AleksVAnd

Hey Jake,

Thank you for this project.

I'm trying to create a hierarchical state machine in order to structure the code better and avoid duplication.

So, I have this question - is it possible to combine instantiating a factory with new arbitrary methods? In this way that the new machine has a function which is unique to it.

It seems that currently it doesn't work. Or maybe I'm doing something wrong...

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions