From 7b757c58f110a577ae4a24308a2e540731ab7211 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 20 Jan 2017 13:09:53 +0100 Subject: Updating Decorations and Grounds --- world.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'world.lua') diff --git a/world.lua b/world.lua index b01948e..e594c32 100644 --- a/world.lua +++ b/world.lua @@ -231,10 +231,16 @@ function World:update(dt) self.world:update(dt) -- Camera self.camera:update(dt) - -- Nauts + -- Engine world: Nauts, Grounds (kek) and Decorations - all Animateds (top kek) for _,naut in pairs(self.Nauts) do naut:update(dt) end + for _,platform in pairs(self.Platforms) do + platform:update(dt) + end + for _,decoration in pairs(self.Decorations) do + decoration:update(dt) + end -- Clouds if self.map.clouds then -- generator -- cgit v1.1