supermario

package
v0.0.0-...-5ec1ebf Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: GPL-3.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player struct {
	Lives     int
	Stage     int
	Inventory []string
}

func (Player) CanWhistle

func (p Player) CanWhistle() bool

rec function to check on the current stasge

func (*Player) Greenmushroom

func (p *Player) Greenmushroom()

recv function to add a life

func (*Player) Pickup

func (p *Player) Pickup(powerup string)

recv function to add an inventory item

Jump to

Keyboard shortcuts

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