{"size": 382, "ext": "js", "max_stars_repo_path": "app/modules/class/GameObject.js", "max_stars_repo_name": "Kaeks/xoxojs", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/modules/class/GameObject.js", "max_issues_repo_name": "Kaeks/xoxojs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/modules/class/GameObject.js", "max_forks_repo_name": "Kaeks/xoxojs", "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": 10.0526315789, "max_line_length": 27, "alphanum_fraction": 0.6335078534}
export class GameObject {
	position;
	hasArea;
	isVisible = true;

	constructor(position) {
		this.position = position;
	}

	moveTo(position) {
		this.position = position;
	}

	setVisible(newVal) {
		this.isVisible = newVal;
	}

	show() {
		this.setVisible(true);
	}

	hide() {
		this.setVisible(false);
	}

	click(mouseData) {
	}

	update(mouseData) {

	}

	draw(context) {

	}

}
