class Game::Player

Defined in:

game/player.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float64 = 0.0, y : Float64 = 0.0) #

[View source]

Instance Method Detail

def move_down #

[View source]
def move_left #

[View source]
def move_right #

[View source]
def move_up #

[View source]
def sprite : SF::CircleShape #

[View source]
def sprite=(sprite : SF::CircleShape) #

[View source]
def update #

[View source]
def x : Float64 #

[View source]
def x=(x : Float64) #

[View source]
def y : Float64 #

[View source]
def y=(y : Float64) #

[View source]