js/spaceinvaders.js
/*
    Rocket

    Fired by the ship, they've got a position, velocity and state.

    */
Rocket
Fired by the ship, they've got a position, velocity and state.
Rocket Fired by the ship they ' ve got a position velocity and state .
function Rocket(x, y, velocity) {
    this.x = x;
    this.y = y;
    this.velocity = velocity;
}
function Rocket ( x , y , velocity ) { this . x = x ; this . y = y ; this . velocity = velocity ; }
Rocket
Fired by the ship, they've got a position, velocity and state.
Rocket Fired by the ship they ' ve got a position velocity and state .