{"size": 334, "ext": "js", "max_stars_repo_path": "src/cash.js", "max_stars_repo_name": "le-s/freefall", "max_stars_repo_stars_event_min_datetime": "2019-01-15T20:56:00.000Z", "max_stars_repo_stars_event_max_datetime": "2019-01-17T18:42:45.000Z", "max_issues_repo_path": "src/cash.js", "max_issues_repo_name": "le-s/freefall", "max_issues_repo_issues_event_min_datetime": "2021-03-09T00:34:50.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-08T01:21:11.000Z", "max_forks_repo_path": "src/cash.js", "max_forks_repo_name": "le-s/freefall", "max_forks_repo_forks_event_min_datetime": "2020-04-01T00:51:50.000Z", "max_forks_repo_forks_event_max_datetime": "2020-04-01T00:51:50.000Z"}
{"max_stars_count": 5, "max_issues_count": 2, "max_forks_count": 1, "avg_line_length": 15.1818181818, "max_line_length": 46, "alphanum_fraction": 0.6167664671}
import Sprite from "./sprite";

const cashImg = new Image();
cashImg.src = "./assets/images/money.png";

class Cash {
  constructor(physics) {
    this.physics = physics;
    this.sprite = new Sprite(cashImg, 40, 40);
  }

  move() {
    this.physics.dDown = 6;
  }

  stop() {
    this.physics.dDown = 0;
  }
}

export default Cash;
