diff options
| author | 1029chris <1029chris@gmail.com> | 2022-02-02 19:34:15 -0800 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2022-02-02 19:34:15 -0800 |
| commit | f142a571a3587846f666b2fc4a8ad4cb296c6ad6 (patch) | |
| tree | 1d0ac9185d4b422678985ab40bfdb605e867cf85 /objects.lua | |
| parent | 80f39c08a0b6195088d38888b71825203d038902 (diff) | |
basic enemies and other stuff!!!!!!!
Diffstat (limited to 'objects.lua')
| -rw-r--r-- | objects.lua | 2 |
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 |
