Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NormalSM ¶
type NormalSM struct {
// contains filtered or unexported fields
}
func (*NormalSM) ChangeState ¶
func (*NormalSM) GetAllState ¶
type NormalSMNode ¶
type NormalSMNode struct {
// contains filtered or unexported fields
}
func (*NormalSMNode) Enter ¶
func (nsmn *NormalSMNode) Enter()
func (*NormalSMNode) GetState ¶
func (nsmn *NormalSMNode) GetState() int
func (*NormalSMNode) Leave ¶
func (nsmn *NormalSMNode) Leave()
type StateMachine ¶
最简化设计,不提供Init
type StateMachineNode ¶
type StateMachineNode interface { GetState() int Enter() Leave() }
最简化设计,不提供Execute方法
Click to show internal directories.
Click to hide internal directories.