class Geo::Player

Defined in:

geo/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

def self.new #

[View source]

Instance Method Detail

def camera_target #

[View source]
def draw #

[View source]
def forward_movement(frame_time) #

[View source]
def gravity(frame_time) #

[View source]
def grounded? #

[View source]
def height : LibC::Float #

[View source]
def jump(frame_time) #

[View source]
def movement(frame_time) #

[View source]
def rotation : LibC::Float #

[View source]
def rotation_movement(frame_time) #

[View source]
def strafe_movement(frame_time) #

[View source]
def update #

[View source]