class Escape::Player
Defined in:
escape/player.cr
Constant Summary
-
FORWARD_SPEED =
15
-
GRAVITY =
10
-
JUMP_SPEED =
150
-
JUMP_TIMER =
0.25
-
ROTATION_SPEED =
100
-
STRAFE_SPEED =
10
Constructors
Instance Method Summary
Constructor Detail
Instance Method Detail
def
forward_movement(frame_time)
#
def
gravity(frame_time)
#
def
height(*args, **options)
#
def
height(*args, **options, &)
#
def
movement(frame_time)
#
def
rotation : LibC::Float
#
def
rotation_movement(frame_time)
#
def
strafe_movement(frame_time)
#