phaser4-rex-plugins
Version:
87 lines (78 loc) • 1.36 kB
JavaScript
import { BehaviorTree } from './behaviortree/Factory.js';
import { Blackboard } from './blackboard/Factory.js';
import {
BaseNode,
Action,
Composite,
Decorator,
Succeeder,
Failer,
Runner,
Error,
Wait,
Abort,
BreakAction,
Selector,
Sequence,
Parallel,
IfSelector,
SwitchSelector,
WeightSelector,
RandomSelector,
ShuffleSelector,
Bypass,
ForceSuccess,
ForceFailure,
Invert,
TimeLimit,
Cooldown,
Repeat,
RepeatUntilFailure,
RepeatUntilSuccess,
Limiter,
If,
ContinueIf,
AbortIf,
BreakDecorator,
} from './nodes/Factory.js';
export {
// Core
BehaviorTree,
Blackboard,
BaseNode,
Composite,
Decorator,
Action,
// Composites
Selector,
Sequence,
Parallel,
IfSelector,
SwitchSelector,
WeightSelector,
RandomSelector,
ShuffleSelector,
// Decorators
Bypass,
ForceSuccess,
ForceFailure,
Invert,
TimeLimit,
Cooldown,
Repeat,
RepeatUntilFailure,
RepeatUntilSuccess,
Limiter,
If,
ContinueIf,
AbortIf,
BreakDecorator,
// Actions
Succeeder,
Failer,
Runner,
Error,
Wait,
Abort,
BreakAction,
};