aboutsummaryrefslogtreecommitdiff
path: root/objects.lua
diff options
context:
space:
mode:
Diffstat (limited to 'objects.lua')
-rw-r--r--objects.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/objects.lua b/objects.lua
index 69b2bd8..fa04ee8 100644
--- a/objects.lua
+++ b/objects.lua
@@ -2,10 +2,12 @@ obj = {}
function updateobjs()
foreach(players, function(obj) obj:update() end)
+ foreach(enemies, function(obj) obj:update() end)
foreach(obj, function(obj) obj:update() end)
end
function drawobjs()
foreach(obj, function(obj) obj:draw() end)
+ foreach(enemies, function(obj) obj:draw() end)
foreach(players, function(obj) obj:draw() end)
end \ No newline at end of file