Skip to content

how to use decorators?  #28

Open
Open
@sunq0001

Description

@sunq0001

Why can't it work in this way?

const {InvertDecorator} = require('behaviortree');

for every Decorator nodes, shall I rewrite them all as below?

class InvertDecorator extends Decorator {
//rewrite the codes.
}

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