Browse files

made powerups spin

  • Loading branch information...
1 parent 12022a8 commit f668df54a36238d0b6c772ea5eb29252655648a5 @Textmode Textmode committed Aug 28, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 powerup.lua
View
4 powerup.lua
@@ -37,6 +37,10 @@ function _M.new(t)
return setmetatable(p, _MT)
end
+function _M:think(dt)
+ self.facing = self.facing +dt
+end
+
function _M:testcollision(e)
if e.npc and not self.faction == 'npc' then
return false

0 comments on commit f668df5

Please sign in to comment.