{"size": 456, "ext": "js", "max_stars_repo_path": "src/main/controller/entities/update/update-entity.js", "max_stars_repo_name": "jsmeow/nebluax", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/main/controller/entities/update/update-entity.js", "max_issues_repo_name": "jsmeow/nebluax", "max_issues_repo_issues_event_min_datetime": "2021-01-28T20:07:18.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-10T05:17:12.000Z", "max_forks_repo_path": "src/main/controller/entities/update/update-entity.js", "max_forks_repo_name": "jsmeow/nebulax", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 35.0769230769, "max_line_length": 80, "alphanum_fraction": 0.7719298246}
const updateBackgroundEntity = require('./background/update-background-entity');
const updateBaseEntity = require('./base/update-base-entity');
const updateGameEntity = require('./game/update-game-entity');

function update(entity, idx, dt) {
  entity.actions.forEach(action => action(entity, idx, dt));
}

module.exports = update;
module.exports.base = updateBaseEntity;
module.exports.bg = updateBackgroundEntity;
module.exports.game = updateGameEntity;
