87,910
社区成员
发帖
与我相关
我的任务
分享
function A() {
this.b=B;
this.b(1);
this.a=function() {
this.bullet=new Bullet();
window.setInterval('this.bullet.run()', 100);
}
}
function A() {
this.b=B;
this.b(1);
this.a=function() {
this.bullet=new Bullet();
var t = this;
window.setInterval(function(){
t.bullet.run();
}, 100);
}
}
window.setInterval(function(){
B.bullet.run()
}, 100);