   muzzleVelocity: 200/1000
   bulletLife: 50 / (200/1000)
 
-newBullet = (shortBeam, position,direction) ->
+newBullet = (weapon, position,direction) ->
   offsetX = GUN_SETTINGS.offsetX
   offsetY = GUN_SETTINGS.offsetY
   velocity = GUN_SETTINGS.muzzleVelocity

      return 'ready'

  _cooldown: (ms) ->
    @update @get('short_beam').set('cooldown',ms)
    'coolDown'

  _fireBullet: ->
    dir = @get('samus').get('direction')
    shortBeam = @get('short_beam')
    pos = @get('position')
    @newEntity newBullet(shortBeam,pos,dir)


  return [
    Common.Bullet.merge
      damage: weapon.get('damage')
    Common.Visual.merge
      layer: 'creatures'
      spriteName: 'bullet'
