Handbook
Glossary
tick-player-forward ( world player -- )
Vocabulary
terrain
Inputs
world
an
object
player
an
object
Outputs
None
Definition
USING:
accessors
kernel
math.vectors
;
IN:
terrain
:
tick-player-forward
( world player -- )
2dup
save-history
[
apply-friction
apply-gravity
]
change-velocity
dup
scaled-velocity
[
v+
]
curry
change-location
collide
;