ghost

package
v0.0.0-...-a114ad6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DizzyAll

func DizzyAll()

func Draw

func Draw(screen *ebiten.Image)

func Update

func Update()

Types

type Color

type Color uint8
const (
	Red Color = iota
	Pink
	Cyan
	Orange
)

type Ghost

type Ghost struct {
	// contains filtered or unexported fields
}
var (
	Blinky, Pinky, Inky, Clyde *Ghost
)

func (*Ghost) CurrPoint

func (g *Ghost) CurrPoint() *point.Point

func (*Ghost) Die

func (g *Ghost) Die()

func (*Ghost) Status

func (g *Ghost) Status() Status

type Status

type Status uint8
const (
	Alive Status = iota
	Dizzy
	Recovering
	Dead
)

Jump to

Keyboard shortcuts

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