class Player
Defined in:
ld43/player.cr
Constant Summary
-
DOWN =
"res/man-down.png"
-
HIT_SOUND =
"res/hit.wav"
-
LEFT =
"res/man-left.png"
-
RIGHT =
"res/man-right.png"
-
UP =
"res/man-up.png"
Constructors
Instance Method Summary
Instance methods inherited from class Entity
all_objects
all_objects,
collides_with(other)
collides_with,
collides_with_anything
collides_with_anything,
collision(other : Entity)
collision,
delete_me : Bool
delete_me,
delete_me=(delete_me : Bool)
delete_me=,
draw
draw,
height : Int32
height,
height=(height : Int32)
height=,
update(dt)
update,
width : Int32
width,
width=(width : Int32)
width=,
x : Int32
x,
x=(x : Int32)
x=,
y : Int32
y,
y=(y : Int32)
y=
Constructor methods inherited from class Entity
new(x : Int32, y : Int32)
new
Constructor Detail
Instance Method Detail
def
invicibility_stuff(dt)
#