summaryrefslogtreecommitdiffhomepage
path: root/not/Platform.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-04-05 18:43:14 +0200
committerAki <nthirtyone@gmail.com>2017-04-05 18:43:14 +0200
commit8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e (patch)
tree669d36f990176531c6687924a2a9f64f3068fc3b /not/Platform.lua
parent5c51b6e4d39bc55887f94dc65e58fd1765d86c1c (diff)
downloadroflnauts-8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e.zip
roflnauts-8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e.tar.gz
roflnauts-8e11bf89f1abe547c30f7d5ac39bf0d7ed555f7e.tar.bz2
Some of World's create methods are now following new parameter orders of entities constructors
Diffstat (limited to 'not/Platform.lua')
-rw-r--r--not/Platform.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Platform.lua b/not/Platform.lua
index 5ee2dd7..3748c47 100644
--- a/not/Platform.lua
+++ b/not/Platform.lua
@@ -13,7 +13,7 @@ Platform.__index = Platform
setmetatable(Platform, PhysicalBody)
-- Constructor of `Platform`
-function Platform:new (game, world, x, y, shape, sprite, animations)
+function Platform:new (animations, shape, game, x, y, sprite)
local o = setmetatable({}, self)
o:init(animations, shape, game, x, y, sprite)
return o