util

package
v0.0.0-...-22d1e04 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScreenWidth  = 600
	ScreenHeight = 950
)

Variables

View Source
var (

	// sections top vertical pixel
	ScoreSectionTopY        = 0
	DestroyerSectionTopY    = scoreSectionHeight
	DestroyerSectionBottomY = DestroyerSectionTopY + destroyerSectionHeight
	WolfpackSectionTopYA    = scoreSectionHeight + destroyerSectionHeight
	WolfpackSectionTopYB    = scoreSectionHeight + destroyerSectionHeight + wolfpackSectionHeight
	WolfpackSectionTopYC    = scoreSectionHeight + destroyerSectionHeight + wolfpackSectionHeight*2
)

Functions

func DrawDestroyerBackground

func DrawDestroyerBackground(screen *ebiten.Image)

func DrawScoresBackground

func DrawScoresBackground(screen *ebiten.Image)

func DrawWolfpackBackgroundA

func DrawWolfpackBackgroundA(screen *ebiten.Image)

func DrawWolfpackBackgroundB

func DrawWolfpackBackgroundB(screen *ebiten.Image)

func DrawWolfpackBackgroundC

func DrawWolfpackBackgroundC(screen *ebiten.Image)

Types

This section is empty.

Jump to

Keyboard shortcuts

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