uisprite

package
v0.0.0-...-e7326f8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UISprite

type UISprite struct {
	*sprite.Sprite
}

A sprite fixed to the screen. Ignores Camera.ViewRange value.

func New

func New(tf interfaces.ITransform, img *ebiten.Image) *UISprite

Creates new sprite fixed to the screen.

func (*UISprite) DrawUI

func (s *UISprite) DrawUI(gb interfaces.IGameBase, screen *ebiten.Image)

func (*UISprite) DrawUIPriority

func (s *UISprite) DrawUIPriority() float64

func (*UISprite) ExcludeDrawable

func (s *UISprite) ExcludeDrawable()

Jump to

Keyboard shortcuts

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