Versions in this module Expand all Collapse all v1 v1.0.0 Feb 1, 2023 Changes in this version + const PlayerHeight + const PlayerSize + const PlayerWidth + var AllPlayerFrames = [][][]FrameData + var CrouchFrames = []*ebiten.Image + var CrouchWalkFrames = []*ebiten.Image + var WalkFrames = []*ebiten.Image + func FlipRect(r image.Rectangle, flip bool) image.Rectangle + func PlayerOnRightSide(p Player, o Player) bool + func RectTouches(r1 image.Rectangle, r2 image.Rectangle) bool + func TranslateRect(r image.Rectangle, x int, y int) image.Rectangle + type FrameData struct + G int + R image.Rectangle + S *ebiten.Image + T HitboxType + func FrameDataForActionTick(a PlayerAction, tick int) []FrameData + type HitboxType int + const HitboxHurt + const HitboxNone + const HitboxNormal + type Once struct + type Player struct + Action PlayerAction + ActionTicksLeft int + Color color.Color + CrouchFrame int + Crouching bool + Grounded bool + NoKick bool + NoPunch bool + PlayAgain bool + PlayerNum int + VX float64 + VY float64 + WalkFrame int + WalkFrameReverse bool + X float64 + Y float64 + func (p *Player) Clone() Player + func (p *Player) String() string + func (p *Player) Walking() bool + type PlayerAction int + const ActionBlock + const ActionIdle + const ActionKick + const ActionPunch + const ActionStunned + const ActionTaunt1 + const ActionTaunt2 + const ActionTaunt3 + const ActionTaunt4