- 添加 IStateMachine 接口,支持泛型状态和上下文 - 添加 StateMachine 实现 - 支持状态定义 (onEnter/onExit/onUpdate) - 支持转换定义和条件 - 支持事件监听 (onChange/onEnter/onExit) - 添加 8 个蓝图节点: - GetCurrentState, TransitionTo, CanTransition - IsInState, WasInState, GetStateDuration - EvaluateTransitions, ResetStateMachine
23 lines
647 B
JSON
23 lines
647 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "ES2020",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2020", "DOM"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"resolveJsonModule": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|