Ejemplo n.º 1
0
 public void update(float t) {
   if (t == 1f) {
     super._isEnd = true;
     super._target.setPosition(this._delta.x + this._orgPos.x, this._delta.y + this._orgPos.y);
   } else {
     float num = this._height * MathUtils.abs(MathUtils.sin(((t * 3.141593f) * this._jumps)));
     num += this._delta.y * t;
     float num2 = this._delta.x * t;
     super._target.setPosition(num2 + this._orgPos.x, num + this._orgPos.y);
   }
 }
Ejemplo n.º 2
0
 @Override
 public void step(float dt) {
   super._target.setPosition(this._pos);
   super._isEnd = true;
 }