player

package
v0.0.0-...-1072354 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player struct {
	X, Y                              int
	FacingLeft                        bool
	YVelocity                         float64
	WileECoyote                       int
	TimeSinceLastJump                 int
	Slides                            *[]*ebiten.Image
	IdleFrames, RunFrames, FallFrames []*ebiten.Image
	Coins                             int
	JumpRecovery                      int
}

func New

func New() Player

func (Player) ResetWileECoyote

func (p Player) ResetWileECoyote()

Jump to

Keyboard shortcuts

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