tnt_ao

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AOTNT

type AOTNT struct {
	sync.RWMutex

	AOID mt.AOID

	Pos minetest.AOPos

	SpawnTime time.Time
}

func MakeTNT

func MakeTNT(pos minetest.AOPos) *AOTNT

func (*AOTNT) AOInit

func (tnt *AOTNT) AOInit(c *minetest.Client) *minetest.AOInit

func (*AOTNT) Clean

func (tnt *AOTNT) Clean()

func (*AOTNT) GetAO

func (tnt *AOTNT) GetAO() mt.AOID

func (*AOTNT) GetAOPos

func (tnt *AOTNT) GetAOPos() minetest.AOPos

func (*AOTNT) Punch

func (tnt *AOTNT) Punch(c *minetest.Client, i *mt.ToSrvInteract)

func (*AOTNT) SetAO

func (tnt *AOTNT) SetAO(i mt.AOID)

func (*AOTNT) SetAOPos

func (tnt *AOTNT) SetAOPos(p minetest.AOPos)

Jump to

Keyboard shortcuts

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