Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

603 B
Raw Blame
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
 * @file    index.ts
 * @brief   Behavior-tree core barrel (pure runtime; engine binding is separate).
 */

export type { BtNodeType, BtNode, BtDefinition } from './types';
export { tickBt, createBtRunState, type BtRunState } from './BtRunner';
export {
    emptyBt,
    ensureBtIds,
    btNodes,
    btEdges,
    maxChildren,
    canHaveChildren,
    addBtChild,
    addBtOrphan,
    removeBtNode,
    moveBtNode,
    setBtNodeField,
    reparentBtNode,
    type BtEdge,
} from './btGraph';