actions

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Action
}

func (*Error) OnTick

func (this *Error) OnTick(tick *Tick) b3.Status

type Failer

type Failer struct {
	Action
}

func (*Failer) OnTick

func (this *Failer) OnTick(tick *Tick) b3.Status

type Log

type Log struct {
	Action
	// contains filtered or unexported fields
}

func (*Log) Initialize

func (this *Log) Initialize(setting *BTNodeCfg)

func (*Log) OnTick

func (this *Log) OnTick(tick *Tick) b3.Status

type Runner

type Runner struct {
	Action
}

func (*Runner) OnTick

func (this *Runner) OnTick(tick *Tick) b3.Status

type Succeeder

type Succeeder struct {
	Action
}

func (*Succeeder) OnTick

func (this *Succeeder) OnTick(tick *Tick) b3.Status

type Wait

type Wait struct {
	Action
	// contains filtered or unexported fields
}

*

  • Wait a few seconds. *
  • @module b3
  • @class Wait
  • @extends Action

*

func (*Wait) Initialize

func (this *Wait) Initialize(setting *BTNodeCfg)

*

  • Initialization method. *
  • Settings parameters: *
  • - **milliseconds** (*Integer*) Maximum time, in milliseconds, a child
  • can execute. *
  • @method Initialize
  • @param {Object} settings Object with parameters.
  • @construCtor

*

func (*Wait) OnOpen

func (this *Wait) OnOpen(tick *Tick)

*

  • Open method.
  • @method open
  • @param {Tick} tick A tick instance.

*

func (*Wait) OnTick

func (this *Wait) OnTick(tick *Tick) b3.Status

*

  • Tick method.
  • @method tick
  • @param {Tick} tick A tick instance.
  • @return {Constant} A state constant.

*

Jump to

Keyboard shortcuts

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