clarifying comment

This commit is contained in:
Josh Deprez 2021-08-14 17:22:14 +10:00
parent 6cf9904403
commit ee6a4f10ae

View file

@ -52,7 +52,8 @@ func (aw *Awakeman) Update() error {
// Has traction? // Has traction?
if aw.CollidesAt(aw.Pos.Add(image.Pt(0, 1))) { if aw.CollidesAt(aw.Pos.Add(image.Pt(0, 1))) {
// Not falling // Not falling.
// Instantly decelerate (AW absorbs all kinetic E in legs, or something)
aw.vy = 0 aw.vy = 0
aw.coyoteTimer = coyoteTime aw.coyoteTimer = coyoteTime
} else { } else {