ui

package
v0.0.0-...-2995887 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Margin = 10
View Source
const TileSize = 64

Variables

This section is empty.

Functions

func DrawLine

func DrawLine(length int) *ebiten.Image

func DrawSelectorBox

func DrawSelectorBox(rect Rect, screen *ebiten.Image)

func GetBattleGroundBackgroundColor

func GetBattleGroundBackgroundColor() color.Color

func GetDarkColor

func GetDarkColor() color.Color

func GetFontBold

func GetFontBold() font.Face

func GetFontItalic

func GetFontItalic() font.Face

func GetFontNormalFace

func GetFontNormalFace() font.Face

func GetFontTiny

func GetFontTiny() font.Face

func GetGridOutlineColor

func GetGridOutlineColor() color.Color

func GetMoveRangeColor

func GetMoveRangeColor() color.Color

func GetTextColor

func GetTextColor() color.Color

func GetWoundColor

func GetWoundColor() color.Color

Types

type Rect

type Rect struct {
	X int
	Y int
	W int
	H int
}

func (Rect) InBounds

func (re Rect) InBounds(x int, y int) bool

func (Rect) InPixelBounds

func (re Rect) InPixelBounds(x int, y int) bool

Jump to

Keyboard shortcuts

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