@petkoneo/phaser3-rex-plugins
Version:
86 lines (75 loc) • 1.26 kB
JavaScript
import { BehaviorTree } from './behaviortree/Factory.js';
import { Blackboard } from './blackboard/Factory.js';
import {
BaseNode,
Action,
Composite,
Decorator,
Succeeder,
Failer,
Runner,
Error,
Wait,
Selector,
Sequence,
Parallel,
IfSelector,
SwitchSelector,
WeightSelector,
RandomSelector,
ShuffleSelector,
Bypass,
ForceSuccess,
ForceFailure,
Invert,
TimeLimit,
Cooldown,
Repeat,
RepeatUntilFailure,
RepeatUntilSuccess,
Limiter,
If,
ContinueIf,
AbortIf,
} from './nodes/Factory.js';
import { LoadYaml } from './parsers/yaml/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,
// Actions
Succeeder,
Failer,
Runner,
Error,
Wait,
// Parsers
LoadYaml,
};