zone

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "zone"
	// EntityZone ...
	EntityZone = common.EntityType(Name)
)
View Source
const (
	AttrLat       = "lat"
	AttrLon       = "lon"
	AttrElevation = "elevation"
	AttrTimezone  = "timezone"
)

Variables

This section is empty.

Functions

func New

func New() plugins.Plugable

func NewAttr

func NewAttr() m.Attributes

func NewSettings

func NewSettings() m.Attributes

Types

type Actor

type Actor struct {
	entity_manager.BaseActor
	// contains filtered or unexported fields
}

func NewActor

func NewActor(entity *m.Entity,
	scriptService scripts.ScriptService,
	adaptors *adaptors.Adaptors,
	eventBus event_bus.EventBus) *Actor

func (*Actor) SetState

func (e *Actor) SetState(params entity_manager.EntityStateParams) error

func (*Actor) Spawn

func (e *Actor) Spawn() entity_manager.PluginActor

Jump to

Keyboard shortcuts

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