Documentation
¶
Index ¶
- type Action1
- func (a *Action1) OnChildFinish(result gobehaviortree.Result, childIdx int, owner string)
- func (a *Action1) OnEnter() gobehaviortree.Result
- func (a *Action1) OnExit()
- func (a *Action1) OnInstall()
- func (a *Action1) OnUninstall()
- func (a *Action1) Print()
- func (a *Action1) SetChildCount(count int)
- func (a *Action1) SetIdx(idx int)
- func (a *Action1) SetInit(init bool)
- func (a *Action1) SetParent(parent gobehaviortree.BaseNode)
- func (a *Action1) WhoAmI() string
- type Action2
- func (a *Action2) OnChildFinish(result gobehaviortree.Result, childIdx int, owner string)
- func (a *Action2) OnEnter() gobehaviortree.Result
- func (a *Action2) OnExit()
- func (a *Action2) OnInstall()
- func (a *Action2) OnUninstall()
- func (a *Action2) Print()
- func (a *Action2) SetChildCount(count int)
- func (a *Action2) SetIdx(idx int)
- func (a *Action2) SetInit(init bool)
- func (a *Action2) SetParent(parent gobehaviortree.BaseNode)
- func (a *Action2) WhoAmI() string
- type Behaviourer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action1 ¶
type Action1 struct {
gobehaviortree.AINode
}
func NewAction1 ¶
func NewAction1() *Action1
func (*Action1) OnChildFinish ¶
func (a *Action1) OnChildFinish(result gobehaviortree.Result, childIdx int, owner string)
func (*Action1) OnEnter ¶
func (a *Action1) OnEnter() gobehaviortree.Result
func (*Action1) OnUninstall ¶
func (a *Action1) OnUninstall()
func (*Action1) SetChildCount ¶
func (*Action1) SetParent ¶
func (a *Action1) SetParent(parent gobehaviortree.BaseNode)
type Action2 ¶
type Action2 struct {
gobehaviortree.AINode
}
func NewAction2 ¶
func NewAction2() *Action2
func (*Action2) OnChildFinish ¶
func (a *Action2) OnChildFinish(result gobehaviortree.Result, childIdx int, owner string)
func (*Action2) OnEnter ¶
func (a *Action2) OnEnter() gobehaviortree.Result
func (*Action2) OnUninstall ¶
func (a *Action2) OnUninstall()
func (*Action2) SetChildCount ¶
func (*Action2) SetParent ¶
func (a *Action2) SetParent(parent gobehaviortree.BaseNode)
type Behaviourer ¶
type Behaviourer struct {
// contains filtered or unexported fields
}
Behaviourer behaviourer
func NewBehaviour ¶
func NewBehaviour() *Behaviourer
Click to show internal directories.
Click to hide internal directories.