Skip to content

Commit cdfb231

Browse files
authored
Merge pull request #75 from code-dot-org/molly/show-hide-painter
Add show hide pegman functions to mazeController
2 parents 063e78a + 4614b5a commit cdfb231

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/mazeController.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,4 +467,12 @@ module.exports = class MazeController {
467467
this.animationsController.hidePegman();
468468
}
469469
}
470+
471+
showPegman(id) {
472+
this.animationsController.showPegman(id);
473+
}
474+
475+
hidePegman(id) {
476+
this.animationsController.hidePegman(id);
477+
}
470478
};

0 commit comments

Comments
 (0)