{"size": 464, "ext": "js", "max_stars_repo_path": "src/game/scenes/SceneTwo.js", "max_stars_repo_name": "cmagoun/pixitest", "max_stars_repo_stars_event_min_datetime": "2018-09-08T17:09:11.000Z", "max_stars_repo_stars_event_max_datetime": "2018-09-08T17:09:11.000Z", "max_issues_repo_path": "src/game/scenes/SceneTwo.js", "max_issues_repo_name": "cmagoun/pixitest", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/game/scenes/SceneTwo.js", "max_forks_repo_name": "cmagoun/pixitest", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.7777777778, "max_line_length": 64, "alphanum_fraction": 0.4612068966}
import Scene from './Scene';

export default class SceneTwo extends Scene {
    constructor(gm, spriteMap, mgr) {
        super(gm, spriteMap, mgr);
    }

    init() {
        for(let x = 0; x < 20; x++) {
            for(let y = 0; y < 20; y++) {
                const sprite = this.spriteMap.get("floor_grey");
                sprite.x = x * 24;
                sprite.y = y * 24;
                this.container.addChild(sprite);
            }
        }
    }
}