Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import "js/web.jsx";
- class Test {
- a
- override function hoge(cell: Cell): void {
- var el = dom.id("cell-" + cell.x.toString() + "-" + cell.y.toString());
- el.className += " opened neighbor" + cell.getNeighbors().toString();
- }
- override function fuga(cell: Cell): void {
- var el = dom.id("cell-" + cell.x.toString() + "-" + cell.y.toString());
- el.className += " bomb";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement