Skip to content

Actor and blackboard arguments redundants in FSM? #94

@LJerome94

Description

@LJerome94

This might be a dumb question, but why is the FSM's actor also passed as an argument to the _on_update(), _on_enter(), etc functions?
Couldn't we write the value of the actor in the blackboard and only pass the later?
It would also be possible for the FSM to leave a reference to itself in its blackboard.

Thanks in advance!

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