pacman

package
v0.0.0-...-11bb701 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 1 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 contiene todos la data del juego

func NewGame

func NewGame() *Game

NewGame es un constructor de game

func (*Game) ScreenHeight

func (g *Game) ScreenHeight() int

ScreenHeight devuelve la altura de la pantalla

func (*Game) ScreenWith

func (g *Game) ScreenWith() int

ScreenWidth devuelve la anchura de la pantalla

func (*Game) Update

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

Update hace refresh a la pantalla

Jump to

Keyboard shortcuts

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