本帖最后由 发财 于 2021-7-5 15:57 编辑
插件名称:Finite State Machine System 1.0 | 插件官网:访问官网 | 版权协议:Red pine1.1 | 解压密码:通用密码 | Finite State Machine System 1.0
Finite State Machine System 1.0
Finite State Machine System 1.0
Finite State Machine System
This Finite State Machine System is much more professional, and is developed for the programmer who has previous knowledge about the finite state machine concept.这个有限状态机系统更加专业,是为那些对有限状态机概念有一定了解的程序员开发的
Features
- You can create your own state classes derived from the FSMState class in the framework and override its OnEnter(),OnUpdate() and OnExit() functions if necessary.No more silly enums and switch cases!
-One state linked to another,is created by the transition class,in other words,the transition class link one state to another state called the next state,besides, it hold the next state reference and a list of condition which determine whether to change to next state or not.
- In this framework,each condition class is separated,and you should create your own condition by Implement the condition interface : IFSMTransitionCondition.
- When you want to link one state to another, you don't need to create the transition by yourself,just to use the CreateFSMStateToAnotherFSMStateTransition API in this framework,all you need to do is to input two state names and some conditions,the framework will create a transition between two states automatically.
- There is a simple tank battle demo in this package,the AI tank is implemented by this finite state machine framework.so you can easy to learn how to use this framework by studying the code in the demo.
- In this package,the readme file described about how to use this framework and how the AI tank in demo be coded in detail.
游客,本付费内容需要支付 29资源币 才能浏览 ●加入游戏开发者,即可下载资源● 购买
|
|