scene

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawActors

func DrawActors(t *actors.Tank, screen *ebiten.Image)

func DrawGameOverScreen

func DrawGameOverScreen(screen *ebiten.Image)

func DrawKillFeed

func DrawKillFeed(screen *ebiten.Image)

func DrawLevel

func DrawLevel(levelObjects []levels.LevelBlock, tankX, tankY float64, screen *ebiten.Image)

func DrawLevelZero

func DrawLevelZero(screen *ebiten.Image)

func DrawScreen

func DrawScreen(levelNum int, screen *ebiten.Image)

Types

type GameState

type GameState int
const (
	GameStateMainMenu GameState = iota
	GameStateGameplay
	GameStateSettings
)

Jump to

Keyboard shortcuts

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