summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/world.lua b/world.lua
index f2af28d..9c308b8 100644
--- a/world.lua
+++ b/world.lua
@@ -3,7 +3,7 @@
-- WHOLE CODE HAS FLAG OF "need a cleanup"
-require "ground"
+require "platform"
require "player"
require "cloud"
require "effect"
@@ -126,7 +126,7 @@ end
-- Add new platform to the world
function World:createPlatform(x, y, polygon, sprite, animations)
- table.insert(self.Platforms, Ground:new(self, self.world, x, y, polygon, sprite, animations))
+ table.insert(self.Platforms, Platform:new(self, self.world, x, y, polygon, sprite, animations))
end
-- Add new naut to the world