point

package
v0.0.0-...-b0a1419 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	X int
	Y int
}

func New

func New(x, y int) *Point

func (*Point) Clone

func (p *Point) Clone() *Point

func (*Point) Dir

func (p *Point) Dir(dst *Point) direction.Direction

func (*Point) Equals

func (p *Point) Equals(other *Point) bool

Jump to

Keyboard shortcuts

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