runner

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultScriptRunner

type DefaultScriptRunner struct {
	RoomsService      service.RoomsService
	CharactersService service.CharactersService
	ItemsService      service.ItemsService
	Game              def.GameCtrl
}

DefaultScriptRunner ...

func NewDefaultScriptRunner

func NewDefaultScriptRunner() *DefaultScriptRunner

NewDefaultScriptRunner ...

func (*DefaultScriptRunner) Run

func (runner *DefaultScriptRunner) Run(script scripts.Script, ctx interface{}) interface{}

Run ...

func (*DefaultScriptRunner) SetServices

func (runner *DefaultScriptRunner) SetServices(facade service.Facade, game def.GameCtrl)

SetServices ...

Jump to

Keyboard shortcuts

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