@Override
  public void create() {
    float w = Gdx.graphics.getWidth();
    float h = Gdx.graphics.getHeight();

    camara = new OrthographicCamera(1, h / w);

    texturas = new Texture(Gdx.files.internal("graficos/texturas.png").toString());
    TextureRegion[][] regioesTexturas =
        TextureRegion.split(texturas, texturas.getWidth() / 4, texturas.getHeight() / 4);
    Frame[][] frames = new Frame[regioesTexturas.length][regioesTexturas[0].length];
    for (int tri = 0;
        tri < regioesTexturas.length;
        tri++) { // TextureRegion[] trArray : regioesTexturas){
      TextureRegion[] trArray = regioesTexturas[tri];
      for (int trj = 0; trj < trArray.length; trj++) {
        frames[tri][trj] = new Frame(trArray[trj]);
        frames[tri][trj].setSize(0.5f, 0.5f);
        frames[tri][trj].setPosition(-0.25f, -0.25f);
        frames[tri][trj].setOrigin(0.25f, 0.25f);
      }
    }
    animadoCiano = new ExtendedAnimation(0.1f, frames[0]);
    animadoCiano.setPlayMode(ExtendedAnimation.LOOP);
    animadoAmarelo = new ExtendedAnimation(1f, frames[1]);
    animadoAmarelo.setPlayMode(ExtendedAnimation.LOOP);
    animadoBranco = new ExtendedAnimation(1f, frames[2]);
    animadoBranco.setPlayMode(ExtendedAnimation.LOOP);
    inanimadoCastanho = new Sprite(regioesTexturas[3][0]);
    inanimadoVerde = new Sprite(regioesTexturas[3][1]);
    // inanimadoVerde.
    stateTime = 0f;
    lote = new SpriteBatch();
  }