pacman

package
v0.0.0-...-088eb1a Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	// contains filtered or unexported fields
}

Game holds all the pacman game data

func NewGame

func NewGame() *Game

NewGame is a Game constructor

func (*Game) ScreenHeight

func (g *Game) ScreenHeight() int

ScreenHeight returns the game screen height

func (*Game) ScreenWidth

func (g *Game) ScreenWidth() int

ScreenWidth returns the game screen width

func (*Game) Update

func (g *Game) Update(screen *ebiten.Image) error

Update updates the screen

Jump to

Keyboard shortcuts

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