首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > hook-finitestatemachine

hook-finitestatemachine

  • 资源大小:103.70 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Introduction Often in an application it is necessary to be able to define and then switch the application state based on either user input or data updates. The Finite State Machine (FSM) is our version of a State Machine in Actionscript 3. The FSM uses StateControllers to manage lists of State Objects. A State Object is anything that implements IState. The FSM includes 2 such objects: State, which is the most basic example and StateView which is useful for classes that are also DisplayObjects. Getting Started The FSM includes 2 controllers. The most basic is StateController. A StateController is a management interface for a list of state sub objects. When a StateController is told to exit or enter, the controller then in return tells all of its sub objects to exit or enter. It then waits until all of the sub objects have finished their exits/enters and dispatches and event notifying of its completion. All commands directed at a State should go through

文 件 列 表

examples
app
Flash

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 猕猴桃 1天前 成为了本站会员

  • 11 1天前 成为了本站会员

  • 开心快活人 1天前 成为了本站会员

  • 晋财 1天前 成为了本站会员

  • WYG 2天前 成为了本站会员

  • Shine 2天前 成为了本站会员

  • 柳贻 2天前 成为了本站会员

  • hallelujah_HL 2天前 成为了本站会员

  • 焦昱贺 2天前 成为了本站会员

  • Rubin 2天前 成为了本站会员

0.230420s