direction

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 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 Direction

type Direction int
const (
	Up Direction = iota
	Right
	Down
	Left
	Static
)

func (*Direction) DirectionVector2

func (d *Direction) DirectionVector2() vector2.Vector

func (*Direction) Theta

func (d *Direction) Theta() float64

func (*Direction) TurnBack

func (d *Direction) TurnBack()

func (*Direction) TurnLeft

func (d *Direction) TurnLeft()

func (*Direction) TurnRight

func (d *Direction) TurnRight()

Jump to

Keyboard shortcuts

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