diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-12-21 10:21:13 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-21 15:24:18 -0300 |
commit | c8d83a62aadb46044c3ab058cc738a8473833e39 (patch) | |
tree | 94ab7a764096e88fb00bc18f9a3386b2534beaf2 /src/gnu_and_bola_brawlers/update/default.lua | |
parent | 50a0d4e2d625c346c4437fa88eb42316f7b2c8b9 (diff) |
Remove redundant comments and parameters
Diffstat (limited to 'src/gnu_and_bola_brawlers/update/default.lua')
-rw-r--r-- | src/gnu_and_bola_brawlers/update/default.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gnu_and_bola_brawlers/update/default.lua b/src/gnu_and_bola_brawlers/update/default.lua index 1ea8b10..493bd1a 100644 --- a/src/gnu_and_bola_brawlers/update/default.lua +++ b/src/gnu_and_bola_brawlers/update/default.lua @@ -23,7 +23,7 @@ update.animation = function(metaSprite, images, dt) end update.motion = function(character, images, metaSprite, dt) - -- Character will be stand if player press up/down, left/right buttons at the same time or when don't press any button + --Character will be stand if player press up/down, left/right buttons at the same time or when don't press anything if ((character.actionUp == true and character.actionDown == true) or (character.actionLeft == true and character.actionRight == true) or (character.actionLeft == false and character.actionRight == false and character.actionUp == false and character.actionDown == false)) and character.actionA == false and character.jump.isJumping == false then if metaSprite ~= character.stand then print("(update.motion) -> load stand meta sprite") @@ -33,7 +33,7 @@ update.motion = function(character, images, metaSprite, dt) end end - -- Check if it is jumping or falling + --Check if it is jumping or falling if character.jump.higher > 0 and character.actionUp == false and character.actionDown == false and character.actionA == true then if metaSprite ~= character.jump then print("(update.motion) -> load jump meta sprite") |