Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HFSMState

分层状态机子状态

Hierarchy

Implements

Index

Properties

[PARENT]

[PARENT]: IStateMachine

[TRANSLATION_DIC]

[TRANSLATION_DIC]: Map<IState, Omit<ITransition, "from">> = new Map()

Readonly id

id: string = UUID.create_v4()

name

name: string

Accessors

machine

Methods

[UPDATE]

  • [UPDATE](deltaTime: number): void

addTranslation

  • addTranslation(translation: Omit<ITransition, "from">): void

onEnter

onExit

onUpdate

  • onUpdate(deltaTime: number): void

removeTranslation

  • removeTranslation(to: IState): void

Generated using TypeDoc