diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-14 16:54:41 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-14 16:54:41 +0200 |
commit | 3308a3d15e9b06529d5093d8551d4868e7fc7eff (patch) | |
tree | 06de7e0db54285315d0b112282873e6bd10f80e5 | |
parent | 88a7dd8e2e7793d86d2587547a6fa450fbf9acaa (diff) | |
download | roflnauts-3308a3d15e9b06529d5093d8551d4868e7fc7eff.zip roflnauts-3308a3d15e9b06529d5093d8551d4868e7fc7eff.tar.gz roflnauts-3308a3d15e9b06529d5093d8551d4868e7fc7eff.tar.bz2 |
Revert "Marked Issue #8"
This reverts commit 88a7dd8e2e7793d86d2587547a6fa450fbf9acaa.
-rw-r--r-- | cloud.lua | 21 | ||||
-rw-r--r-- | player.lua | 2 |
2 files changed, 1 insertions, 22 deletions
diff --git a/cloud.lua b/cloud.lua deleted file mode 100644 index d825eda..0000000 --- a/cloud.lua +++ /dev/null @@ -1,21 +0,0 @@ --- `Cloud` --- That white thing moving in the background. - --- WHOLE CODE HAS FLAG OF "need a cleanup" - --- Metatable of `Cloud` -Cloud = { - x = 0, - y = 0, - sprite = love.graphics.newImage("assets/clouds.png") -} - --- Constructor of `Cloud` -function Cloud:new() - -- Meta - local o = {} - setmetatable(o, self) - self.__index = self - -- Misc - return o -end
\ No newline at end of file @@ -214,7 +214,7 @@ function Player:changeAnimation(animation) end -- Punch of `Player` --- REWORK NEEDED Issue #8 +-- REWORK NEEDED function Player:hit (horizontal, vertical) if vertical == -1 then self:changeAnimation("attack_up") |