diff options
author | Aki <nthirtyone@gmail.com> | 2017-03-19 04:19:59 +0100 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-03-19 04:19:59 +0100 |
commit | cca4d9c1bf4033c79e4bd61a257c6ea02557524c (patch) | |
tree | d26570878c7b912a9d3be6c0d8853b315f1c89a1 /not/PhysicalBody.lua | |
parent | 2e352657813b37d17c2215b85189f18a50c099f9 (diff) | |
download | roflnauts-cca4d9c1bf4033c79e4bd61a257c6ea02557524c.zip roflnauts-cca4d9c1bf4033c79e4bd61a257c6ea02557524c.tar.gz roflnauts-cca4d9c1bf4033c79e4bd61a257c6ea02557524c.tar.bz2 |
Moving draw away to abstract classes
Diffstat (limited to 'not/PhysicalBody.lua')
-rw-r--r-- | not/PhysicalBody.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/not/PhysicalBody.lua b/not/PhysicalBody.lua index 52e9357..bbea3ac 100644 --- a/not/PhysicalBody.lua +++ b/not/PhysicalBody.lua @@ -30,4 +30,5 @@ end -- Draw of `PhysicalBody`. function PhysicalBody:draw (offset_x, offset_y, scale, debug) -- TODO: Move debug part here from `not.Hero.draw`. + Sprite.draw(self, offset_x, offset_y, scale) end |