Advertisement
vvakame

Untitled

Sep 24th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import "js/web.jsx";
  2.  
  3. class Test {
  4.  
  5. a
  6.  
  7. override function hoge(cell: Cell): void {
  8. var el = dom.id("cell-" + cell.x.toString() + "-" + cell.y.toString());
  9. el.className += " opened neighbor" + cell.getNeighbors().toString();
  10. }
  11.  
  12. override function fuga(cell: Cell): void {
  13. var el = dom.id("cell-" + cell.x.toString() + "-" + cell.y.toString());
  14. el.className += " bomb";
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement