 
     options = _.merge(defaultOptions, options)
 
-    @maxTravelDistance = options.maxTravelDistance
+    @timeSinceStart = options.timeSinceStart
     @position = options.position
     @shipId = options.shipId
     @maxLifeTime = options.maxLifeTime

    !@active

  runFrame: (timeDiff)->
    timeSinceStart += timeDiff
    velocityWithTime = helper.multVector(@velocity, timeDiff)
    @position = helper.addVectors(@position, velocityWithTime)



    @velocity[0] = Math.max(-1, Math.min(@velocity[0], 1));
    @velocity[1] = Math.max(-1, Math.min(@velocity[1], 1));
    needToRemove = @timeSinceStart > @maxLifeTime
    console.log("Need to remove bullet") if needToRemove
    @markForDeletion() if needToRemove
    console.log("bullet moved to #{@position} with velocity #{@velocity}")
