Changeset 114 for pycodeshooter/trunk/shooter/trooper.js
- Timestamp:
- 01/21/12 04:46:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pycodeshooter/trunk/shooter/trooper.js
r113 r114 214 214 this.addBullet = function(bulletType, size, color, frame, x, y, dir, speed) { 215 215 this.bullets.push( 216 new bulletType(size, color, frame, this. x + x, this.y + y, dir, speed));216 new bulletType(size, color, frame, this.w, this.h, this.x + x, this.y + y, dir, speed)); 217 217 }; 218 218
Note: See TracChangeset
for help on using the changeset viewer.