esengine / behaviourtree-ai Goto Github PK
View Code? Open in Web Editor NEW基于ecs-framework开发的AI(BehaviourTree、UtilityAI、FSM)系统。适用于egret/laya/cocos
License: MIT License
基于ecs-framework开发的AI(BehaviourTree、UtilityAI、FSM)系统。适用于egret/laya/cocos
License: MIT License
var isIConditional = (props: any): props is IConditional => typeof (props as IConditional)['update'] !== 'undefined';
编译成js代码如下
var isIConditional = function (props) { return typeof props['update'] !== 'undefined'; };
只检查了函数是否具有update函数。Behavior里自带了update函数,也就是所有继承自Behavior的函数都会返回true。并不能判断是不是条件节点吧?
请问这个库是egret团队的成员写的吗?能否剥离成为单独的不依赖egret的独立库?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.