playerAO

package
v0.0.0-...-aecff93 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AOPlayer

type AOPlayer struct {
	sync.RWMutex

	AOID mt.AOID

	Pos minetest.PPos

	Name string
}

func (*AOPlayer) AOInit

func (player *AOPlayer) AOInit(clt *minetest.Client) *minetest.AOInit

func (*AOPlayer) Clean

func (player *AOPlayer) Clean()

func (*AOPlayer) GetAO

func (player *AOPlayer) GetAO() mt.AOID

func (*AOPlayer) GetPos

func (player *AOPlayer) GetPos() minetest.PPos

func (*AOPlayer) Punch

func (player *AOPlayer) Punch(*minetest.Client, *mt.ToSrvInteract)

func (*AOPlayer) Relevant

func (player *AOPlayer) Relevant(clt *minetest.Client) bool

Implement ao.ActiveObjectRelevant

func (*AOPlayer) SetAO

func (player *AOPlayer) SetAO(i mt.AOID)

func (*AOPlayer) SetPos

func (player *AOPlayer) SetPos(p minetest.PPos)

Jump to

Keyboard shortcuts

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