3
image = 'data/laser.png',
5
-- set velocity.x,y from vector velocity
6
-- rotation should be passed in at creation
8
self.createdAt = love.timer.getTime()
10
onUpdate = function(self, dt)
11
if love.timer.getTime() - self.createdAt > 2 then
12
-- TODO: reuse these (see factory idea above)
14
the.app.view:remove(self)
b'\\ No newline at end of file'