     @projectiles.push projectile
 
   removeProjectile: (projectile)->
+    @projectiles.splice @projectiles.indexOf(projectile), 1
 
   canFire: ->
     @projectiles.length is 0


    @controller = new Controller @
    @player     = new Player 0, 0, 16, 100, 5, @

  keys: ->

  timestamp: ->
    window.performance.now()


  constructor: (@x, @y, @game)->
    @radius = 10
    @speed  = 10
    super @x, @y, @radius, @radius, @speed, @game, 1

  update: ->
    super
