@Override
	public void update(float delta) {
		this.x+=this.dx*delta;
		this.y+=this.dy*delta;
		
		if(this.dx < 0) {
			this.dx = MathHelper.clampFloat(this.dx+0.1f, this.dx, 0f);
		}
		if(this.dx > 0) {
			this.dx = MathHelper.clampFloat(this.dx+0.1f, 0f, this.dx);
		}
		
		if(this.dy < 0) {
			this.dy = MathHelper.clampFloat(this.dy+0.1f, this.dy, 0f);
		}
		if(this.dy > 0) {
			this.dy = MathHelper.clampFloat(this.dy+0.1f, 0f, this.dy);
		}
	}