     super
     @width    = 50
     @height   = 100
-    @speed    = 5
-    @fireRate = 0.25
+    @speed    = 10
+    @fireRate = 0.01
     @$canvas  = $(@game.canvas)
 
   update: ->

    @boomSound.cloneNode().play()

  toggleBgMusicSelection: ->
    console.log 'ronk'
    @bgMusic.src = if @bgMusic.src.match /yakkity-sax/
        'assets/drunken-lullabies.mp3'
      else


  constructor: (@game)->
    super
    @y =  @height+(Math.random()*200)
    @x =  -@width
    @move @x, @y
    @isRight = true
    @sinIndex = Math.random()*10

  update: ->
    @y = @y + 10*Math.sin(@sinIndex / 5)
    @sinIndex += 1
    if @isRight
      @move(@x + @speed)
    else
      @move(@x - @speed)
    if @x < 0
      @isRight = true
      @image = @game.assets.enemyShip
    if @x > @game.width - @width
      @isRight = false
      @image = @game.assets.enemyShipLeft


  move: (x)->
    super x
