test

package
v0.0.0-...-c8bcd0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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) OnExit

func (a *Action1) OnExit()

func (*Action1) OnInstall

func (a *Action1) OnInstall()

func (*Action1) OnUninstall

func (a *Action1) OnUninstall()

func (*Action1) Print

func (a *Action1) Print()

func (*Action1) SetChildCount

func (a *Action1) SetChildCount(count int)

func (*Action1) SetIdx

func (a *Action1) SetIdx(idx int)

func (*Action1) SetInit

func (a *Action1) SetInit(init bool)

func (*Action1) SetParent

func (a *Action1) SetParent(parent gobehaviortree.BaseNode)

func (*Action1) WhoAmI

func (a *Action1) WhoAmI() string

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) OnExit

func (a *Action2) OnExit()

func (*Action2) OnInstall

func (a *Action2) OnInstall()

func (*Action2) OnUninstall

func (a *Action2) OnUninstall()

func (*Action2) Print

func (a *Action2) Print()

func (*Action2) SetChildCount

func (a *Action2) SetChildCount(count int)

func (*Action2) SetIdx

func (a *Action2) SetIdx(idx int)

func (*Action2) SetInit

func (a *Action2) SetInit(init bool)

func (*Action2) SetParent

func (a *Action2) SetParent(parent gobehaviortree.BaseNode)

func (*Action2) WhoAmI

func (a *Action2) WhoAmI() string

type Behaviourer

type Behaviourer struct {
	// contains filtered or unexported fields
}

Behaviourer behaviourer

func NewBehaviour

func NewBehaviour() *Behaviourer

func (*Behaviourer) Init

func (b *Behaviourer) Init()

Init init

func (*Behaviourer) Run

func (b *Behaviourer) Run()

Run run

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL