comparison Walk/resources/bullet.js @ 0:718974a1a32b

Vacuum
author <e085737>
date Tue, 07 Dec 2010 17:31:15 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:718974a1a32b
1 bullet_move = function(node, sgroot, w, h){
2 this.xyz[0] += this.dx
3 this.xyz[1] += this.dy
4 this.xyz[2] += this.dz
5 this.frame++
6 if(this.frame > 400){
7 this.remove(this)
8 }
9 }