Guest User

Untitled

a guest
Apr 25th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1.     --Run update() for all objects in the bullets table
  2.     for i, v in ipairs(self.bullets) do
  3.         if v.shouldExist then
  4.             v:update(dt)
  5.         else
  6.             table.remove(self.bullets,i)
  7.             -- i = i - 1
  8.         end
  9.     end
Add Comment
Please, Sign In to add comment