The "brain"of an enemy, for instance, can be implemented using a FSM: every staterepresents an action, such as Patrol, Chase, Evade or Shoot or any other kindof actions.
打个比方,我们可以对一个敌人应用状态机去实现巡逻,追逐,闪避以及射击等各种行为。
The "brain"of an enemy, for instance, can be implemented using a FSM: every staterepresents an action, such as Patrol, Chase, Evade or Shoot or any other kindof actions.
打个比方,我们可以对一个敌人应用状态机去实现巡逻,追逐,闪避以及射击等各种行为。
应用推荐