clarifying comment
This commit is contained in:
parent
6cf9904403
commit
ee6a4f10ae
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue