summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-11 19:54:41 +0200
committerAki <nthirtyone@gmail.com>2017-09-11 19:54:41 +0200
commitc2dbd963a243b237df48b409f855ef4099f710c9 (patch)
tree5299a26d5fe277b3f35c427833603f7ac6bf9587 /not
parent4490b5b5fcaddbf55fb229caeb93c879fe254292 (diff)
downloadroflnauts-c2dbd963a243b237df48b409f855ef4099f710c9.zip
roflnauts-c2dbd963a243b237df48b409f855ef4099f710c9.tar.gz
roflnauts-c2dbd963a243b237df48b409f855ef4099f710c9.tar.bz2
Removed obsolete wrapper for ratioed Decoration
Diffstat (limited to 'not')
-rw-r--r--not/Decoration.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/not/Decoration.lua b/not/Decoration.lua
index 6068a61..97524f5 100644
--- a/not/Decoration.lua
+++ b/not/Decoration.lua
@@ -21,13 +21,4 @@ function Decoration:setPosition (x, y)
self.x, self.y = x, y
end
--- TODO: Temporary wrapper for draw to keep background in place.
-function Decoration:draw (offset_x, offset_y, scale)
- if self.ratio ~= nil then
- offset_x = offset_x * self.ratio
- offset_y = offset_y * self.ratio
- end
- Decoration.__super.draw(self, offset_x, offset_y, scale)
-end
-
return Decoration