No entiendo porque no tengo movimiento en mi textura ¿Que pasa?
No me sale ningún error en LogCat ni en la consola.
Este es mi codigo :
package com.Videojuego;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
public class DerechaCoche extends Coche {
   public float Spped = 20;
   public float dir = 0;
    public DerechaCoche(float x, float y) {
        super(x, y);
        // TODO Auto-generated constructor stub
    }
    @Override
    public void update() {
        float delta =Gdx.graphics.getDeltaTime();
        float dir = 0;
        if (Gdx.input.isKeyPressed(Keys.RIGHT)) dir = 1;{
        bordes.x = bordes.x * delta; 
    }
    }
}
Este es mi codigo de clase coche:
package com.Videojuego;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Rectangle;
public abstract class Coche { /// 
     protected Texture texture;
     protected SpriteBatch Batcher;
     protected Rectangle bordes;
      public Coche (float x , float y){
          texture = new Texture (Gdx.files.internal("coche1.png"));
          bordes = new Rectangle(x,y,texture.getWidth(),texture.getHeight());  
      }
    public void draw(SpriteBatch Batcher){ 
         Batcher.draw(texture,bordes.x,bordes.y,texture.getWidth(),texture.getHeight());  
      }
      public abstract void update(); 
      public Rectangle getBordes(){
          return bordes;
      }
}


