3
image = 'data/laser.png',
5
self.velocity = vector.new(1000, 0)
6
self.velocity:rotate_inplace(self.rotation)
8
self.createdAt = love.timer.getTime()
12
onUpdate = function(self, dt)
13
if love.timer.getTime() - self.createdAt > 0.7 then
14
-- TODO: reuse these (see factory idea above)
15
the.bullets:remove(self)
b'\\ No newline at end of file'