this._x = 0;
}
if (this._y<0) {
this._y = -this._y;
}
if (this.xinc*this.inc<0) {
if (this._x>_root.zhujue1._x) {
if (this._x-_root.zhujue1._x>(-this.xinc*this.inc)) {
this._x += this.xinc*this.inc;
} else {
this._x -= this._x-_root.zhujue1._x;
}
}
if (this._x<_root.zhujue1._x) {
if (this._x-_root.zhujue1._x>this.xinc*this.inc) {
this._x += -(this._x-_root.zhujue1._x);
} else {
this._x -= this.xinc*this.inc;
}
}
if (this._y>_root.zhujue1._y) {
if (this._y-_root.zhujue1._y>(-this.yinc*this.inc)) {
this._y += this.yinc*this.inc;
} else {
this._y -= this._y-_root.zhujue1._y;
}
}
if (this._y<_root.zhujue1._y) {
if (this._y-_root.zhujue1._y>this.yinc*this.inc) {
this._y += -(this._y-_root.zhujue1._y); Flash射击游戏设计+需求分析(17):http://www.751com.cn/jisuanji/lunwen_464.html