Changeset 105 for pycodeshooter/trunk
- Timestamp:
- 01/23/11 02:09:20 (15 years ago)
- File:
- 
          - 1 edited
 
 - 
          pycodeshooter/trunk/shooter/bullet.js (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
        pycodeshooter/trunk/shooter/bullet.jsr101 r105 129 129 130 130 that.next = function() { 131 this.x += Math.cos(this.dir) * this.i * this.getSign();131 this.x += Math.cos(this.dir) * this.i; 132 132 this.y += Math.sin(this.dir) * this.i; 133 this.dir += (this.delta / this.i) ;133 this.dir += (this.delta / this.i) * this.getSign(); 134 134 this.i += (this.delta / this.i); 135 135 }; 
Note: See TracChangeset
          for help on using the changeset viewer.
      
