wall

package
v0.0.0-...-67a1e62 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Flag1         = Flags(0x1)
	FlagFront     = Flags(0x2)
	FlagSecret    = Flags(0x4)
	FlagBreakable = Flags(0x8)
	FlagDoor      = Flags(0x10)
	FlagBroken    = Flags(0x20)
	FlagWindow    = Flags(0x40)
	Flag8         = Flags(0x80)
)
View Source
const GridStep = common.GridStep

Variables

This section is empty.

Functions

func GridToPos

func GridToPos(pos image.Point) types.Pointf

func PosToGrid

func PosToGrid(pos types.Pointf) image.Point

Types

type Flags

type Flags byte

func (Flags) Has

func (f Flags) Has(f2 Flags) bool

func (Flags) HasAny

func (f Flags) HasAny(f2 Flags) bool

func (Flags) MarshalJSON

func (f Flags) MarshalJSON() ([]byte, error)

func (Flags) Split

func (f Flags) Split() []Flags

func (Flags) String

func (f Flags) String() string

Jump to

Keyboard shortcuts

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