|
function repositonGameItem() { |
|
locationX += speedX; |
|
locationY += speedY; |
|
} |
|
function redrawDrawItem() { |
|
$("#walker").css("left", locationX); |
|
$('#walker').css('top', locationY); |
|
} |
@khamal22, just add a basic comment above both of these functions that explain their basic purpose/functionality.
khamal22.github.io/asd-projects/walker/index.js
Lines 101 to 108 in ac29ef6
@khamal22, just add a basic comment above both of these functions that explain their basic purpose/functionality.