Documentation
¶
Index ¶
- func GetJumpY() float64
- type Hero
- func (g *Hero) GetBody() pixel.Rect
- func (g *Hero) GetDir() float64
- func (g *Hero) GetVel() pixel.Vec
- func (g Hero) IsCollide(p platform.Platform) bool
- func (g *Hero) IsCrouch() bool
- func (g *Hero) IsJump() bool
- func (g *Hero) Jump()
- func (g *Hero) Update(ctrl pixel.Vec, dt float64, platforms []platform.Platform)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.