float

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Distance

func Distance(x, z float64) float64

Distance get the distance from given pos to the float

func IsFish

func IsFish(DeltaX, DeltaY, DeltaZ int) bool

IsFish update the pos of the float with deltaXYZ and judge if hook

func IsMine

func IsMine(EID int) bool

IsMine judge the belonging of the float

func Set

func Set(ID int, x, y, z float64)

Set set Float id and pos when new float was spawn

Types

This section is empty.

Jump to

Keyboard shortcuts

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