{"size": 384, "ext": "js", "max_stars_repo_path": "POO/Aula 1 - Classes/animal.js", "max_stars_repo_name": "Game-Awake/Logica", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "POO/Aula 1 - Classes/animal.js", "max_issues_repo_name": "Game-Awake/Logica", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "POO/Aula 1 - Classes/animal.js", "max_forks_repo_name": "Game-Awake/Logica", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.6956521739, "max_line_length": 46, "alphanum_fraction": 0.5442708333}
class Animal {
  constructor(nome) {
    this.nome = nome;
    this.comeu = 0;
    this.andou = 0;
  }

  comer() {
    this.comeu++;
    console.log("Comeu");
  }
  andar() {
    this.andou++;
    console.log("Andou");
  }

  informacoes() {
    console.log(`Animal: ${this.nome}`);
    console.log(`Comeu: ${this.comeu} vezes`);
    console.log(`Andou: ${this.andou} vezes`);
  }
}
